I want to set up a formula field that can check if a value is an int and if so convert it to an int. How can I verify if a value is an int in the formula is an int? Here's what I tried:
CASE
WHEN ISNUMERIC(RIGHT([@field:Serial_Number], 2))
THEN CONVERT(INT, (RIGHT([@field:Serial_Number], 2)))
END
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
pmcfarlain
I want to set up a formula field that can check if a value is an int and if so convert it to an int. How can I verify if a value is an int in the formula is an int? Here's what I tried:
CASE WHEN ISNUMERIC(RIGHT([@field:Serial_Number], 2)) THEN CONVERT(INT, (RIGHT([@field:Serial_Number], 2))) END
Any help would be appreciated thanks!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.