+ Start a Discussion
T-HanT-Han 

Copy values in text Field to Number Field

Hi,

 

Help needed.

 

I have a Text field with the hours of now() func. I want to subtract 14 hrs from that num.

 

So I wanna know how to move the values of text to number field.

 

Any help is highly appreciated..

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 

All Answers

prakash_sfdcprakash_sfdc
Do you want apex code for it ? Or just a formula field ?
avijchakavijchak

IN APEX USE Integer.valueOf(String) in Formula you can use TEXT(Field__C)

T-HanT-Han

Thanks for Code, can I get it in Formula??