barrytallis
10-29-2021Data Storage
Is there any way to convert a string to a number?
We have a field that has text and "text numbers" . Any way in a widget to be able to convert the text to a number?
You can have a custom table that converts the field to number, the values that are not possible to be converted are just gonna be empty (null)
select
todouble(quantity)
from (
select 'AA1' as quantity
union all select '29228'
union all select '0001'
union all select 'xxa$%#1'
) dt