Creating the decimal to temperature cast

To create the decimal to temperature cast:

  1. Choose Edit > Insert > Cast and type the following information in the New Cast wizard.
    Cast property Decimal to temperature value
    Cast from type decimal
    Cast to type temperature
    Cast must be called for implicit type conversion Yes
    Cast requires a user defined cast support function Yes
    Support routine name is: DecToTempCast
    Language C
    Object grant privileges Grant execute privileges
  2. Click Finish and then choose Project > Save to save your project.

Copyright© 2019 HCL Technologies Limited