In my program I need to calculate the vacation balance.
Within a process there is a field resulted of:
Vac_Balance = (22/12/30)*27
The result should be 1.649 , but it gives me 1.650 ???
When I divided (22/12/30) separtely it gives me (0.06111111111) and then by multiply :
(0.06111111111)*27 it gives me the required answer=1.649
Any solution for that will be much appriciated.
Note: I'm using vfp5
Within a process there is a field resulted of:
Vac_Balance = (22/12/30)*27
The result should be 1.649 , but it gives me 1.650 ???
When I divided (22/12/30) separtely it gives me (0.06111111111) and then by multiply :
(0.06111111111)*27 it gives me the required answer=1.649
Any solution for that will be much appriciated.
Note: I'm using vfp5