| Blockland Forums > Modification Help |
| Rounding a number? |
| << < (2/3) > >> |
| Gadgethm:
mCeil, I believe. mFloor is for rounding down. Edit: Oops, missed Deso's post. |
| Chrono:
--- Quote from: Gadgethm on January 29, 2011, 01:34:47 AM ---mCeil, I believe. mFloor is for rounding down. Edit: Oops, missed Deso's post. --- End quote --- You also missed Kalphiter's post, which uses real rounding. If he wanted an example of forcing to round up, he would've said something like 17.12 to 18. |
| Desolation:
--- Quote from: Chrono on January 29, 2011, 01:37:37 AM ---You also missed Kalphiter's post, which uses real rounding. If he wanted an example of forcing to round up, he would've said something like 17.12 to 18. --- End quote --- Someone is being punctual today. Also, I thought he would want to round up considering his range of "10.88 to 11?". |
| phflack:
i could probably write a way of rounding without those, although it would be rather inefficient :D |
| Chrono:
--- Quote from: Desolation on January 29, 2011, 01:40:38 AM ---Someone is being punctual today. Also, I thought he would want to round up considering his range of "10.88 to 11?". --- End quote --- Which could either mean forcing it up, or using real rounding, because both would work in that situation. But we should shut up about this until he clarifies. |
| Navigation |
| Message Index |
| Next page |
| Previous page |