TypeCasting

scOObscOOb Member Posts: 16
I'm almost ashamed to ask, but I can't find any function in C/AL to cast an Integer to Text or Code. 'EVALUATE' can do it in the other direction, I know that.

Thx for your help

(I'm new at this, so give me some credit, please !!!)

scOOb

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Use FORMAT:
    txtMyTextValue := FORMAT(intMyInteger);
    
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • scOObscOOb Member Posts: 16
    Thanx,

    So simple, I couldn't find it.

    scOOb
Sign In or Register to comment.