Please enable JavaScript to view this site.

A-Shell Reference

[ Type code =  .  (period)] If used with types $ or H and the decimal point is not entered, places the decimal point to right of last digit entered. For example, if "1234" is entered, it will be redisplayed as "1,234.00". Note that this code affects the action of the opcode parameter. When decimal points are allowed, default decimal points are inserted as actual characters into the returned field. If decimal points are not allowed, default decimal points are inserted in the display but not returned.

Note: prior to A-Shell version 5.1.1199, INFLD always used the  .  (period) character for the decimal point, regardless of the LDF (Language Definition File). As of 5.1.1199, you can add the type code u to force it to use the decimal point character specified in the LDF. Note that even in the latter case, it will accept a period from  the keyboard as equivalent to the defined decimal point character.

See Also

defpt, to set the position of a default decimal point.
maxpt, to limit the number of digits past the decimal point.