Can you round down a value?
-
Can you round down a decimal value to a whole number? Is that what Floor does but how do you implement it?
-
@Wurke
floor(value)
?var myvar = 123.456 echo var.myvar # returns 123.456 echo floor(var.myvar) # returns 123
-
@Falcounet Fab. Thank you. There are no examples of this in the docs that I could see so wasn't sure how to implement it, brackets etc
-
This post is deleted!