Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 8,468 of 9,834    |
|    Robert Wiltshire to All    |
|    Re: decimal places with numbers    |
|    20 Apr 07 14:11:34    |
   
   From: Robert@nospam.com   
      
   Sometimes I like the format command in this situation,   
   it helps you see precision of numbers.   
      
   To help see default behaviors,   
   consider the following code snippet:   
      
      
   var   
    nu number   
    st1,st2 string   
   endvar   
      
   nu = .025   
      
   st1 = string(nu)   
   st2 = format("W.4",nu)   
      
   nu.view("number")   
   st1.view("nu to string,no format")   
   st2.view("nu with format")   
      
      
   Robert Wiltshire   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca