Sub Xxx()
Local Gpd_temp_single As Single
Local Str_temp As String * 30
Gpd_temp_single = 465847.0
Gpd_temp_single = Gpd_temp_single / 10000
Str_temp = Str(gpd_temp_single)
that was the link to FP complications. A FP number has a huge range but it can not contain any possible value. Use double to increase accuracy.
To show the value with a number of digits after the DP, have a look at Fusing() _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum