Bug SS-4629
1 vote

calculation errors depending on OS digit grouping symbol

Created by Davide on 1/23/2020 11:54 AM Last Updated by Davide on 1/23/2020 3:33 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

Having comma as decimal separator might produce wrong calculations

 

  • example:

    (correct result 14,166667)
     
  • change of interface settings using period as decimal separator

 

 

 

 

 

    Davide (Thursday, January 23, 2020 3:30 PM) #

I've made some test... The problem is related to the OS digit grouping symbol. Depending on the symbol (period, comma, quote, space, letter, etc...), results may change from the correct result to a wrong result up to a "not defined" error

    Davide (Thursday, January 23, 2020 1:23 PM) #

It might depends on the OS localization settings (I have OS dec.symbol=<period>; OS arg.separator=<comma>; OS d.g.separator=<comma>), I'll give a try later today.

    Martin Kraska (Thursday, January 23, 2020 12:17 PM) #

Can't reproduce:

SMath Studio: SMath Studio Desktop 0.99.7251.32800 portable, 64-bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1; Windows 7 Professional Service Pack 1, 64-bit
Screen: 1920x1080 px, 96x96 dpi, 96 GP.CDPI
Localization: language=GER; dec.symbol=<comma>; arg.separator=<semicolon>; OS dec.symbol=<comma>; OS arg.separator=<semicolon>; OS d.g.separator=<period>
Framework: CLR 4.0.30319.42000

    installed versions:
    v2.0.50727    2.0.50727.5420 SP2
    v3.0    3.0.30729.5420 SP2
    v3.5    3.5.30729.5420 SP1
    v4    
        Client    4.8.03761
        Full    4.8.03761
    v4.0    
        Client    4.0.0.0

Plugins:
- [AppDir] Area Region - 0.99.7251.32800
- [AppDir] HTMLFileType - 1.14.7251.32800
- [AppDir] ImageFileType - 1.11.7251.32800
- [AppDir] Math Region - 0.99.7251.32800
- [AppDir] PictureRegion - 1.10.7251.32800
- [AppDir] PlotRegion - 1.11.7251.32800
- [AppDir] SMath Viewer Files Plugin - 1.1.7251.32841
- [AppDir] SMathFileType - 1.11.7251.32800
- [AppDir] SpecialFunctions - 1.12.7251.32800
- [AppDir] SpecialFunctions - 1.12.7251.32800
- [AppDir] StandardToolboxButtons - 1.1.7251.32800
- [AppDir] TextRegion - 1.11.7251.32800
- [AppDir] XMCDFileType - 1.12.7251.32800
- [UserDir] Checkbox Region - 1.0.7097.23234
- [UserDir] CheckBoxList Region - 1.0.7097.29767
- [UserDir] Combobox Region - 0.1.7097.23243
- [UserDir] ComboBoxList Region - 1.0.7097.29780
- [UserDir] Conditionally Formatted Label - 1.0.7297.36999
- [UserDir] Custom Functions - 1.1.7200.16172
- [UserDir] Custom Glyphs - 1.1.7200.16176
- [UserDir] Development Tools - 1.0.6974.21980
- [UserDir] DotNumerics - 1.1.7166.24796
- [UserDir] Hyperlink Region - 1.0.7105.20106
- [UserDir] Image Region - 2.99.7100.21996
- [UserDir] Maple Tools - 1.1.7162.25335
- [UserDir] Maple Tools - 1.1.7162.25335
- [UserDir] Maple Tools - 1.1.7162.25335
- [UserDir] Mathcad File Access Functions - 1.0.7243.36103
- [UserDir] MaximaPlugin - 1.98.7100.23756
- [UserDir] Modeller Region - 1.0.7100.42534
- [UserDir] Nonlinear Solvers - 1.1.7097.23301
- [UserDir] Numeric Up-Down Region - 1.0.7100.21168
- [UserDir] ODE Solvers - 0.2.7155.3312
- [UserDir] ODE Solvers - 0.2.7155.3312
- [UserDir] PDF Files Plugin - 1.0.7097.27694
- [UserDir] RadioButtonList Region - 1.0.7097.30330
- [UserDir] Slider Region - 1.0.7100.22009
- [UserDir] Snapshot Region - 1.0.7100.22017
- [UserDir] Statistical Tools - 1.0.6824.32561
- [UserDir] Table Region - 0.2.7097.29803
- [UserDir] Text Region Utilities - 0.4.7200.15920
- [UserDir] Writer Region - 0.22.7200.15900
- [UserDir] X-Y Plot Region (JXCharts) - 0.2.7198.38915
- [UserDir] X-Y Plot Region (JXCharts) - 0.2.7198.38915
- [UserDir] ZedGraph Region (ZedGraph) - 0.1.7264.22538