I'm trying to extract some numbers with decimals but need to remove the decimal part. There's no fixed length on any of both sides.
I have already tried:
INT()
INTR()
ROUND()
Usually INT()
should solve this but sometimes it doesn't return the correct number (for example, INT(3)
returns 2
).