` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Deformat
1998-07-14 -- Miro Vehar
 
>StringNumber STRING(20) > > CODE > > StringNumber = '1.234,56' > STOP(Deformat(StringNumber)) ! 1.23456 > STOP(Deformat(StringNumber,@n14.`2)) ! 123456 > STOP(Deformat(StringNumber,@n14.2)) ! 123456 > STOP(Format(StringNumber,@n14.`2)) ! 1,23 > STOP(Format(StringNumber,@n14.2)) ! 1.23 The corect use of DEFORMAT function is: StringNumber STRING(14) CODE StringNumber = RIGHT('1.234,56',14) STOP(Deformat(StringNumber,@N14`2)) ! 1234.56


Today is May 5, 2024, 2:30 am
This article has been viewed 35117 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: