Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
FormatMBS(format as string, value as Double, locale as string = "") as string
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 |
locale is the name of the locale to use. You can pass empty string to use default/current locale.
Format is a format string like for printf command in C.
The FormatMBS formats the value under control of the format. The format is a character string which contains three types of objects: plain characters, which are simply copied to standard output, character escape sequences which are converted and copied to the standard output, and format specifications, each of which causes printing of the next successive argument.
Character escape sequences are in backslash notation as defined in the ANSI X3.159-1989 ("ANSI C89"), with extensions. The characters and their meanings are as follows:
\a | Write a <bell> character. |
\b | Write a <backspace> character. |
\c | Ignore remaining characters in this string. |
\f | Write a <form-feed> character. |
\n | Write a <new-line> character. |
\r | Write a <carriage return> character. |
\t | Write a <tab> character. |
\v | Write a <vertical tab> character. |
\' | Write a <single quote> character. |
\\ | Write a backslash character. |
\num or \0num | Write an 8-bit character whose ASCII value is the 1-, 2-, or 3-digit octal number num. |
The items on this page are in the following plugins: MBS Util Plugin.