Platforms to show: All Mac Windows Linux Cross-Platform

CDblMBS(text as string, byref value as Double, locale as string = "") as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Currency, Date and Time Format MBS Util Plugin 13.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Parses a double value from a text with given locale.
Example
dim value as Double
if CDblMBS("12,345", value, "de_DE") then
MsgBox str(value)
end if

Returns true on success and false on failure.
Value is set to the value detected.
Raises exception on invalid locale.

Some examples using this global method:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...