Datatype of PocketBuilder expressions  Datatype promotion when evaluating numeric expressions

Chapter 4: Operators and Expressions

Numeric datatypes in PocketBuilder

General information

All numeric datatypes are compatible with each other.

What PocketBuilder does

PocketBuilder converts datatypes as needed to perform calculations and make assignments. When PocketBuilder evaluates a numeric expression, it converts the datatypes of operands to datatypes of higher precedence according to the operators and the datatypes of other values in the expression.





Copyright © 2004. Sybase Inc. All rights reserved. Datatype promotion when evaluating numeric expressions

View this book as PDF