Home
Community
Discussion Forums
Most Active Software Boards
LabVIEW
Topic
LabVIEW
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
Percent value control, Format Specifier, percent / per cent
Percent value control, Format Specifier, percent / per cent
stefan!
Member
07-19-2005
05:09 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Hi,
I have a numeric control and the values should be given as percent:
Input of 10 should be seen as 10%; and should have a floating point
value of 0.1. Is it possible to express percent value with Format
Specifiers?
In the "advanced editing mode" of "format and precision" I tried a lot,
but was not successful.
What is the best way for a "percent control" or "percent indicator"?
Regards, Stefan
P.S.:
If you have already a value that represent percent you can try the
format specifier "%#3.0f%%" this is percent without right digits.
See also:
http://zone.ni.com/reference/en-XX/help/lv/71/lvhelp/Format_Specifier_Syntax/
http://zone.ni.com/reference/en-XX/help/lv/71/lvhelp/Format_Specifiers_Table/
1
Kudo
Message
1
of 3
(3,874 Views)
Reply
Re: Percent value control, Format Specifier, percent / per cent
stefan!
Member
Author
07-19-2005
10:12 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I've found a workaround, if you define a unit label
cPa/Pa (or cm/m) you have what you want, afterwards you
can hide the unit label and everything is fine!
Regards, Stefan
2
Kudos
Message
2
of 3
(3,861 Views)
Reply
Re: Percent value control, Format Specifier, percent / per cent
JeanPierre
Active Participant
07-19-2005
10:22 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Clever!
LabVIEW, C'est
La
b
VIE
W
0
Kudos
Message
3
of 3
(3,854 Views)
Reply
All Forum Topics
Previous Topic
Next Topic