How is the "new" work around simpler than the script below? True, it offers the floor and ceiling functions as well, but I would just have three workarounds; one for the round block, one for floor, and one for ceiling. Make sense?

if <(n) > (0)>
set [rounded v] to (((n) + (0.5)) - (((n) + (0.5)) mod (1)))
else
set [rounded v] to ((((n) - (0.5)) - (((n) - (0.5)) mod (1))) + (1))
end


MoreGamesNow (talk | contribs) 00:24, 12 May 2012 (UTC)

Remove workaround for floor function as use case for round function

In the use cases for the round block, one entry includes "Removing the decimal from a score, without rounding up". This isn't a genuine use case for the round () block, because the [floor v] of () block exists. Should we remove it?
Jokebookservice1 (talk | contribs) 22:33, 1 April 2018 (UTC)

Rounding to specific places

Do you think we should add some sort of method to round blocks to another place value?(ex. 179 changes into 17.9 which rounds into twenty and we add a zero = 200).
Thiyagesh (talk | contribs)

This probably would be a good idea.
jvvg (talk | contribs) 18:40, 5 August 2022 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.