Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Decodes number from Polyline Algorithm Format.

Component Version macOS Windows Linux Server iOS SDK
Math 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Math.PolylineDecode"; Text )   More


Parameter Description Example
Text The coordinate value to decode. "~ps|U"


Returns number or error.


Decodes number from Polyline Algorithm Format.
We decode the number stored in the given text and return the numeric value.
Precision is just 5 digits after comma.



Decode a number:

MBS("Math.PolylineDecode"; "~ps|U")

Example result: -120.20

See also

Release notes

Blog Entries

This function is free to use.

Created 31st March 2019, last changed 30th January 2023

Math.PixelToMillimeter - Math.PolylineEncode

💬 Ask a question or report a problem