fixed format numbers required from a list

Mohamed Gani

New member
Local time
Today, 15:11
Joined
Jun 28, 2013
Messages
2
Hi All,

I am very beginner to MS Access. I have a table which contains list of data like,
10025.325
100.245
1245.8464
12546.356
etc.. etc.....
Now, I need a data which contains numbers 5 digits before decimal point & 3 digits after decimal point.

like xxxxx.xxx

Your idea will be much useful for me....

Regards,
Mohamed Gani.
 
Last edited:
Here is a way to do so:

Code:
DigitsBeforeDecimal = CInt(12345.345)
DigitsAfterDecimal = Right(1234.434,Instr(12345.345,".")-2)
 
Hi ,

Thanks for the response.

Is it possible to do the same by using query ?

Regards,
Gani.
 

Users who are viewing this thread

Back
Top Bottom