Great little tool for inline calculations
-
Used this for a few years now and was just perfect for a few situations where I could do calculations to variables within headlines, text and other drag and drop elements. I could pull in dynamic woo product prices and calculate it with another variable fees within custom store pages. Non computer person could just update the woo product base price and everything would display correctly everywhere.
Starting having a few issues in the last year, think about the same time I upgraded to php8. Issue was it was dropping the last digit in the decimals on rounding if it ended in 0 regardless of the dec= attribute setting. ie) 3.99 displays fine but 3.90 would come out as 3.9. I came up with a fix for it though to force the second decimal. Will post it in the support discussion.
- The topic ‘Great little tool for inline calculations’ is closed to new replies.