This code returns the string representation of two numbers and a Boolean. If you pass a Date, it will return the value of the date in SQL Date-time format. If you pass a Color, it will return the hex representation of the color as a String. If you pass a Boolean, CStr will return either the string "True" or "False". Use the Str function if you want to ensure US/English notation. However, in most cases you will want to use the Format function instead for more precise control of the formatting. When you pass a real number to CStr, the string it returns uses the decimal separator the user specified in system preferences. You can pass a class instance as long as the class implements the Operator_Convert method that returns a String.įor real numbers, CStr returns 7 significant digits. The variable that will be represented as a string. by creating a simple DLL in C with Visual Studio 2019 that can be used in Xojo 2020 r1. The string representation of the value passed. Numbers are formatted using the system settings for numerical display. Use to convert the passed data type to a String.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |