home bbs files messages ]

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,464 of 9,834   
   Anders Jonsson to All   
   Re: decimal places with numbers   
   19 Apr 07 20:30:48   
   
   From: gt3TakeThisAway@bredband.net   
      
   > In my code I have the following:   
   > NuConcentration = TC.Concentration   
   > If I view nuConcetration I see 0.03   
      
   That is because Paradox displays the number in a default format with only   
   two decimals when you use view.   
      
      
   > More importantly, when the math is done (numbers X numbers) it is as   
   > if it 0.03.   
      
   Are you sure about that?   
      
   If you do   
      
   view(nuConcetration * 1000)   
      
   I think you should se 25.00   
      
      
   > Any suggestions?   
      
      
   Use the format command to display what you need and set the format of the   
   fields in you forms and report. You can create your custom formats if you   
   need to.   
      
   Anders   
      
   --- 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