Public Member Functions | |
| DTFloat (Scope scope, DTDataType tbd) | |
| DTFloat (Scope scope, double d) | |
| DTFloat (Scope scope, String s) | |
| void | setInteger (DTDataType tbd) |
| void | setFloat (DTDataType tbd) |
| void | setFloat (double d) |
| double | getFloat () |
| void | setInteger (int i) |
| void | assign (DTDataType tbd) |
| DTDataType | multiply (DTDataType other) |
| DTDataType | divide (DTDataType other) |
| DTDataType | add (DTDataType other) |
| DTDataType | subtract (DTDataType other) |
| DTDataType | mod (DTDataType other) |
| DTDataType | round () |
| DTDataType | truncate () |
| int | compareTo (Object o) |
| String | toString () |
Protected Attributes | |
| double | d |
| tinybasic.DTFloat.DTFloat | ( | Scope | scope, | |
| DTDataType | tbd | |||
| ) |
| tinybasic.DTFloat.DTFloat | ( | Scope | scope, | |
| double | d | |||
| ) |
References tinybasic.DTDataType.FLT_VAR.
| tinybasic.DTFloat.DTFloat | ( | Scope | scope, | |
| String | s | |||
| ) |
References tinybasic.DTFloat.d, and tinybasic.DTDataType.INT_VAR.
| DTDataType tinybasic.DTFloat.add | ( | DTDataType | other | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.DTFloat(), tinybasic.DTDataType.getFloat(), and tinybasic.DTFloat.getFloat().
Referenced by tinybasic.DTInteger.add().
| void tinybasic.DTFloat.assign | ( | DTDataType | tbd | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.setFloat().
| int tinybasic.DTFloat.compareTo | ( | Object | o | ) | [virtual] |
Implements tinybasic.DTDataType.
References tinybasic.DTFloat.d, and tinybasic.DTFloat.getFloat().
| DTDataType tinybasic.DTFloat.divide | ( | DTDataType | other | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.DTFloat(), tinybasic.DTDataType.getFloat(), and tinybasic.DTFloat.getFloat().
Referenced by tinybasic.DTInteger.divide().
| double tinybasic.DTFloat.getFloat | ( | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.d.
Referenced by tinybasic.DTFloat.add(), tinybasic.DTFloat.compareTo(), tinybasic.DTFloat.divide(), tinybasic.DTFloat.mod(), tinybasic.DTFloat.multiply(), tinybasic.DTFloat.round(), tinybasic.DTFloat.subtract(), and tinybasic.DTFloat.toString().
| DTDataType tinybasic.DTFloat.mod | ( | DTDataType | other | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.DTFloat(), tinybasic.DTDataType.getFloat(), and tinybasic.DTFloat.getFloat().
Referenced by tinybasic.DTInteger.mod().
| DTDataType tinybasic.DTFloat.multiply | ( | DTDataType | other | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.DTFloat(), tinybasic.DTDataType.getFloat(), and tinybasic.DTFloat.getFloat().
Referenced by tinybasic.DTInteger.multiply().
| DTDataType tinybasic.DTFloat.round | ( | ) |
References tinybasic.DTFloat.DTFloat(), and tinybasic.DTFloat.getFloat().
| void tinybasic.DTFloat.setFloat | ( | DTDataType | tbd | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTDataType.getFloat().
Referenced by tinybasic.DTFloat.assign(), and tinybasic.DTFloat.DTFloat().
| void tinybasic.DTFloat.setFloat | ( | double | d | ) |
Reimplemented from tinybasic.DTDataType.
| void tinybasic.DTFloat.setInteger | ( | DTDataType | tbd | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTDataType.getInteger().
| void tinybasic.DTFloat.setInteger | ( | int | i | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.d.
| DTDataType tinybasic.DTFloat.subtract | ( | DTDataType | other | ) |
Reimplemented from tinybasic.DTDataType.
References tinybasic.DTFloat.DTFloat(), tinybasic.DTDataType.getFloat(), and tinybasic.DTFloat.getFloat().
Referenced by tinybasic.DTInteger.subtract().
| String tinybasic.DTFloat.toString | ( | ) |
References tinybasic.DTFloat.getFloat().
| DTDataType tinybasic.DTFloat.truncate | ( | ) |
References tinybasic.DTDataType.getInteger().
double tinybasic.DTFloat.d [protected] |
1.7.0