calculation problem 
Author Message
 calculation problem

Hello,

here is my code :

dim value, resul as double
value = val(EditFieldValue.text)
result = value / 2.5
EditFieldResult.text = format(result,",###.0000")

and my problem is :

if value = 10 -> result = 4 that's ok
but
if value = 10,5 -> result = 4 too

comment: I use a french operating system
<,> for the decimal separator and < > for thousand separator

thanks for youre help.

Salutations
_R_o_n_a_l_d____H_a_n_o_t___________________________

  rhanot.vcf
< 1K Download


Sat, 08 Dec 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Leap Year 2000 Date Calculation Problem

2. g77 double precision calculation problem

3. UPS calculation problem using qcostcgi.cgi script.

4. calculation problem

5. calculation problem

6. report problems, calculations !!

7. Problem using units in simple calculations (LabView 5.01)

8. debuging problem for huge matrix calculation

9. Help ! Report Calculation Going awry, Where to embed the calculation?

10. Using J as a FoxPro DDE calculation server

11. Need help about CRC calculation.

12. Sunrise and Sunset Calculations in J

 

 
Powered by phpBB® Forum Software