About this task
To create the integer to temperature, CTemp to FTemp,
and FTemp to CTemp casts:
Procedure
- Type the following information in the New Cast wizard
for each cast.
Cast Property |
Integer to temperature Value |
CTemp to FTemp value |
FTemp to CTemp value |
Cast from type |
integer |
CTemp |
FTemp |
Cast to type |
temperature |
FTemp |
CTemp |
Cast must be called for implicit type conversion |
Yes |
Yes |
Yes |
Cast requires a user defined cast support function |
Yes |
Yes |
Yes |
Support routine name is: |
IntToTempCast |
FTempCast |
CTempCast |
Language |
C |
C |
C |
Object grant privileges |
Grant execute privileges |
Grant execute privileges |
Grant execute privileges |
- Choose to save your project.