Navigation:  Reference > Functions >

FormatFieldToString()

Print this Topic Previous pageReturn to chapter overviewNext page

 

STR(1,2,3)

 

PURPOSE

This function will return a numeric (B, I, R or N type) value as a string (A type).

 

PARTS

 

1 f/c/eRequired - The numeric field value.  The original field is unchanged.

 

2 f/c/eThe number of characters in the final field.  Defaults to the defined size of the field in part 1.

 

3 f/c/eThe number of decimal characters in the final field.  Defaults to the number of decimal characters in part 1.

 

RETURN TYPE - A

The size of this field depends on part 2.

 

EXAMPLE

define x type a size 10

x = str(195.32596,6,2)

//x = 195.33

 

 


Page url: http://www.cassoftware.com/tas/manual/formatfieldtostring().htm