Brennall Posted April 19, 2020 Report Share Posted April 19, 2020 Just in case, does anyone know if "floor", "round" or "int" functionality is available in the Math tag? Quote Link to comment Share on other sites More sharing options...
Simon Posted April 19, 2020 Report Share Posted April 19, 2020 They are not -- you would want to use a scripting language (e.g. JavaScript) to further process the output from the math tag. Quote Link to comment Share on other sites More sharing options...
Brennall Posted April 19, 2020 Author Report Share Posted April 19, 2020 Interestingly <!--MATH--><!--PRIMARY_OCV-->+0<!--/MATH--> appears to round to nearest integer. Good enough! Quote Link to comment Share on other sites More sharing options...
rjcurrie Posted May 1, 2020 Report Share Posted May 1, 2020 PRIMARY_OCV without the MATH tags is giving you a non-integer value? That doesn't seem right. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.