Incorrect decimal places displaying

Incorrect decimal places displaying - Result shows less digits after comma than set when rounding - 消息

#1 已发布: 2017/4/19 12:00:49
m227

m227

4个赞和1个踩,共29个帖子。

组: User

Dear Andrey,
When I specify the number of decimal places in the result of any expression and the last digit is zero then it is also cut.
Sample:
  1. Set value n:=0,798
  2. List value by typing n=
  3. Set number digits after comma to 2

I would expect to have 0,80, instead I get 0,8. It is confusing as reader does not know that I use two digits precision in my calculations.

Michał
#2 已发布: 2017/4/19 12:08:55
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hello [userlink]m227[/userlink],

have you tried the "trailing zeros" option in the context menu?

2017-04-19 17_07_34-SMath Studio - [Page1_].png





If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2017/4/19 12:15:09
m227

m227

4个赞和1个踩,共29个帖子。

组: User

Davide, you saved my day.
So this post can be deleted. I don't know how could I omit this, blind am I...
Probably this function should be set ON default?
Michał
#4 已发布: 2017/4/19 16:22:26
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Probably this function should be set ON default?
Michał



Most of the times, I would vote for this option [show trailing 0's].
Other times would vote "NO". Option "show trailing 0's" enables to
line up decimal points in data tabulated from calculations.

Jean

#5 已发布: 2017/4/19 19:39:36
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

Probably this function should be set ON default?



I think would be possible to setup this as a global option that acts on new regions (like decimal places; tools -> options -> calculation).

BTS feature requesst: SS-2442
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • 有新帖
  • 无新帖