rounding to the next positve integer

rounding to the next positve integer - round down to the next smaller positive integer - Сообщения

#1 Опубликовано: 4 года назад
Erwin

Erwin

0 сообщений из 1 понравились пользователям.

Группа: User

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
#2 Опубликовано: 4 года назад
sergio

sergio

115 сообщений из 329 понравились пользователям.

Группа: User

use the floor () function (for positive numbers)
sergio
#3 Опубликовано: 4 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: User

Wrote

is 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 КиБ) скачан 86 раз(а).
#4 Опубликовано: 4 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: Moderator

Wrote

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


Wrote

use 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
#5 Опубликовано: 4 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: User

Image Damier Quick.sm (15 КиБ) скачан 105 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений