Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

Automatic Type Promotion

When mixing different types in an expression without explicit type casting, the conditional expression parser automatically promotes the types using the following rule:

  • signed and unsigned integers: promoted to unsigned integer
  • signed integer and double: promoted to double
  • unsigned integer and double: promoted to double

In the great majority of cases, mixing strings with numeric values returns a parsing error.

TOCIndex