|
|
|
It is currently Thu May 23, 2013 7:00 pm
|
View unanswered posts | View active topics | View unsolved topics
|
Page 1 of 1
|
[ 5 posts ] |
|
Floats not been formatted corrctly
| Author |
Message |
|
Robert
General
Joined: Tue Feb 24, 2009 1:30 pm Posts: 878 Location: Calgary
|
 Floats not been formatted corrctly
I have a SQLTag with the raw value of 2537, data type Float4. It has a scaling of: Raw high = 100 Scaled High = 1, clamp mode = none Format string is ##.# KV
looking at the tags Browser, it shows a value of 25.4
when I display in on a screen using it's value and format string it shows as 25. eg:numberFomat(path_to_tag.value, path_to_tag.format)
What happened to the decimal point?
|
| Tue Apr 12, 2011 5:21 am |
|
 |
|
Travis.Cox
Moderator
Joined: Sun Apr 02, 2006 2:46 pm Posts: 1975 Location: Sacramento, CA
|
 Re: Floats not been formatted corrctly
What component and what property are you using for display. It could be possible you are binding that expression to an integer property.
_________________ Travis Cox
Inductive Automation
Technical Support Rep.
|
| Tue Apr 12, 2011 6:57 am |
|
 |
|
Robert
General
Joined: Tue Feb 24, 2009 1:30 pm Posts: 878 Location: Calgary
|
 Re: Floats not been formatted corrctly
I'm using a label
|
| Wed Apr 13, 2011 2:46 pm |
|
 |
|
Travis.Cox
Moderator
Joined: Sun Apr 02, 2006 2:46 pm Posts: 1975 Location: Sacramento, CA
|
 Re: Floats not been formatted corrctly
Can you post an example of the problem? For example, you can export a window.
_________________ Travis Cox
Inductive Automation
Technical Support Rep.
|
| Wed Apr 13, 2011 3:37 pm |
|
 |
|
Robert
General
Joined: Tue Feb 24, 2009 1:30 pm Posts: 878 Location: Calgary
|
 Re: Floats not been formatted corrctly 
Don't remember this one. Must have been my problem that I solved.
|
| Tue Jul 31, 2012 10:48 am |
|
 |
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|