Join Slack
Powered by
i tried with replace(num,'k','','all') * 1000
# lucee
s
Simone
04/21/2022, 3:32 PM
i tried with replace(num,'k','','all') * 1000
f
foundeo
04/21/2022, 3:35 PM
you might need to warp trim() around replace since you have a space after the number and before the
k
foundeo
04/21/2022, 3:37 PM
simpler solution might be:
val(num) * 1000
👍 1
foundeo
04/21/2022, 3:37 PM
https://cfdocs.org/val
Open in Slack
Previous
Next