Conversion Types Of Numeric Values; Conversion To Integer; Conversion Of Double Precision To Single Precision - Sanyo MBC-550 Series User Manual

Table of Contents

Advertisement

CONVERSION TYPES OF NUMERIC VALUES
1. Conversion to Integer
Rounds up to the decimal point.
Example
>10 A/5 = 1.46:
= 1.5
>20 PRINT k%;B%
>RUN
1 2
2. Conversion of Double Precision to Single Precision
A number with up to 16 significant digits is converted
to a 6 digit (internally 7 digits) number.
Example
>10 A!=1.23^5678
>20 PRINT A!
>RUN
1.23^57
An eight digit number is converted to a six digit number.
3-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents