Split 123.54

NJDude

Expert
Licensed User
Longtime User
Something like this:
B4X:
Dim Number As Double
Dim Buffer() As String

Number = 123.54

Buffer = Regex.Split("\.", Number)

Msgbox("Integer =" & Buffer(0) & CRLF & "Decimal =" & Buffer(1), "")
 
Upvote 0
Top