![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: "real" data type: displaying only 3 signficant values Topic Summary: Created On: 1-Apr-2008 23:13 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Is there an easy way or a trick to only display 3 significant values of a "real" data type without doing any parsing?
For example, I want this code to only display 3.14, but it doesn't. ------------------------- pete.kowalski(at)motorola.com |
|
![]() |
|
![]() |
|
Hi Pete,
I know this does parse the real value, but at least it leaves the conversion to string syntax the same as you're used to. Hope it helps, Paul |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.