30.07.2013 Views

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Fundamentals</strong>. Two-Dimensional <strong>Design</strong><br />

502<br />

The “Accuracy” parameter allows controlling the accuracy of the returned result:<br />

SATOT ( 120.34567 ) returns → 120%%d21′<br />

The “Minimum digits” parameter is used only for decimal representation:<br />

SATOT ( 120.34567 ) returns → 120.500%%d<br />

The function SLTOT () differs from the previous one only in that the value to be converted is considered a<br />

linear value. Therefore, the conversion formats change accordingly. There are four standard formats for this<br />

function:<br />

1 – decimal format. Example: 1.123;<br />

2 – in inches;<br />

3 – in inches and fractions;<br />

4 – in feet, inches and fractions.<br />

The following settings showing in the pictures result in:<br />

SLTOT ( 120.34567 ) returns → 120.35<br />

The functions ATOT () and LTOT () are, respectively, the variations of the functions SATOT () and SLTOT<br />

(), with the conversion parameters defined explicitly.<br />

The calling sequence of the function LTOT is as follows,<br />

LTOT (value, accuracy, standard, digits), where<br />

value – a real number to be converted;<br />

accuracy – the accuracy to be used in the conversion;<br />

standard – the measurement system; takes one of the following values:<br />

1 – decimal format. Example: 1.123;<br />

2 – in inches;<br />

3 – in inches and fractions;<br />

4 – in feet, inches and fractions;<br />

digits – the number of significant decimal digits in the decimal representation.<br />

The calling sequence of the function ATOT is as follows,<br />

ATOT (value, accuracy, standard, digits), where<br />

value – a real number to be converted;<br />

accuracy – the accuracy to be used in the conversion;<br />

standard – the angular units; takes one of the following values:<br />

1 – decimal format. Example: 1.123;<br />

2 – degrees, minutes and seconds. Example: 1°2’30”.<br />

digits – the number of significant decimal digits in the decimal representation.<br />

Example:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!