$regfile = "xm256A3def.dat"
$crystal = 32000000
$hwstack = 500
$swstack = 500
$framesize = 500
$frameprotect = 1
Config Submode = New
Declare Sub Xxx()
Do
Call Xxx()
Loop
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)
End Sub
str_temp = "46.584697721"
it's ok?
but i want to see "46.5847"
[b:995b58769b][color=red:995b58769b](BASCOM-AVR version : 2.0.7.7 )[/b:995b58769b][/color:995b58769b]
↧