This example sets the decimal precision to a minimum of 1 decimal and a maximum of 3. This example prefixes the decimal value with a $, includes a thousand separator, and has a maximum of two decimal places, such as $76,453.21: AutoFormatType = 1 is a lightweight integrated development environment IDE), created ( specifically to provide visualizations for improving the comprehensibility of software. AutoFormatExpression = '1,USD' įor example, this will result in a value like $7,564.00. The following example is similar to the previous example, except it adds a $ sign before the amount. jGRASP: Getting Started crossjh2 326 subscribers Subscribe 591 Share 143K views 12 years ago Introduction to jGRASP - opening files, compiling and running programs, adding line numbers. AutoFormatExpression = 'IRD' įor example, this will result in a value like 7,564. AutoFormatExpression = 'USD' įor example, this will result in a value like 7,564.00.Ĭhanging the AutoFormatExpression property to IRD sets the format of decimal values to IDR (Indonesian rupiah). The following example uses AutoFormatType and AutoFormatExpression property to set the format of decimal values to USD. You may copy-and-paste the text in the box below into the jGRASP editor window. Now you can type a program into this text window. At this point jGRASP should open a new blank text window with 'jGRASP CSD (C)' in the title bar. These two properties are only used to format decimal data types, such as amounts that can be stated in a foreign currency or ratios. At this point, you can create a simple program. For an explanation of these values and examples, see Formatting Decimal Values in Fields. Sets a value that determines how data is formatted, together with the AL expression in the AutoFormatExpression Property. Version: Available or changed with runtime version 1.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |