WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin Flutter] Howto calculate with varibles? (2 posts)

  1. frold
    Member
    Posted 4 years ago #

    Hey,

    I just installed flutter plugin - and I try to calculate with the varibales but how?

    I have:

    Time set to: 10
    km set to: 9000

    echo get('time');
    echo get('meter');
    $time = (int) get('time');
    $meter = (int) get('meter');
    $time_per_km = $time / $meter;
    echo $time_per_km;

    But I just get this error:

    10
    9000

    Warning: Division by zero in /home/frold/liljefred.dk/wp-content/themes/mystique/single.php on line 39

  2. frold
    Member
    Posted 4 years ago #

    I went back to "Custom Fields"

Topic Closed

This topic has been closed to new replies.

About this Topic