Run this one..
------------------
Code:
#Compile Exe Function PbMain Dim T As String Dim D As Double T = "123456789.1" d = 123456789.1# MsgBox Format$( Val( T ) ) & $CRLF _ & Format$( Frac( Val( T ) ) ) & $CRLF _ & Str$( Frac( d ) ) End Function
------------------
Comment