1页(5条)
rounding to the next positve integer - round down to the next smaller positive integer - 消息
Hello All, is there a way to round down to the next smaller positive integer in SMath?
Example: 56.6 --> 56
If yes, how can I do that?
Many thanks and best regards, Erwin
Example: 56.6 --> 56
If yes, how can I do that?
Many thanks and best regards, Erwin
use the floor () function (for positive numbers)
sergio
sergio
Wroteis there a way to round down to the next smaller positive integer in SMath?
The Smath round(■ ,n) work numerical, often useful to isolate.
If the suite is symbolic, it does not isolate.
Then, isolate or transit spool to file for symbolic suite.
Cheers ... Jean
Maths Round(U,n).sm (5.26 KiB)已下载 1198 次。
WroteHello All, is there a way to round down to the next smaller positive integer in SMath?
Example: 56.6 --> 56
If yes, how can I do that?
Many thanks and best regards, Erwin
Wroteuse the floor () function (for positive numbers)
sergio
Sergio is right, floor() is the correct answer.
Other functions won't work for your question.
Don't bother with other answers.
Regards
Image Damier Quick.sm (15.15 KiB)已下载 1244 次。
1页(5条)
- 有新帖
- 无新帖