[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
I18N Localization  XML
Forum Index » User help
Author Message
pegi

Initiate

Joined: 13/01/2010 02:48:45
Messages: 8
Offline

I have a problem that I'm dealing with right now.

I've set up a modbus data source to read and set a setpoint.
I multiply the read value by 0.1 to get the right value.
This works fine in most cases but sometime the vale comes up with a lot of decimals (eg. 1.00000001).
This looks bad on Graphic views.
The solution I used for that is the Text renderer properties where I set the format to 0.0
The value comes up with 0,0 because I'm using a non US computer.
Next problem is when I'm setting a new value.
The setpointbox shows the value with a comma as decimalpoint but Mango doesn't accept values with , (comma). It only accepts . as decimal separator.

This get somewhat confusing for users.

Personly I don't mind using point as decimal and it would be better not to localize the decimalsign because unformatted values are shown with point.

Is there anyone who have a better solution for this?

Thanks

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Hi pegi,

This is actually a known problem. The only workaround right now is to do as you are doing. My apologies to your users.

Best regards,
Matthew Lohbihler
fmunhoz

Initiate

Joined: 26/01/2010 10:08:18
Messages: 49
Offline

sorry, wrong message

This message was edited 1 time. Last update was at 28/01/2010 19:58:08


Best Regards
 
Forum Index » User help
Go to:   
Powered by JForum 2.1.9 © JForum Team