Skip to main content

10.5.6.10. DecPoint

10.5.6.10. DecPoint

 

Explanation

This is used to express resolution and decimal places.

Syntax

DecPoint <src1>,<src2>,<src3>,<dst>

Parameter

src1

Real number to convert

 

src2

Resolution

1: 1/10 times

2: 1/100 times

3: 1/1000 times

src3

Decimal place

 

dst

Variable to save the converted result

String

Example

DecPoint V![21],V![11],V![17],V$[31]

1. In the case of V![21] = 31415, V![11] = 2, V![17] = 3

-> V$[31] = 314.150

2. In the case of V![21] = 31415, V![11] = 1, V![17] = 3

-> V$[31] = 3141.500

Version

Operation after the V40.23-04_20200730 version