Is there a way to extract the first character up to 1 character after the decimal point?
I am receiving data from an API
{POWER : 1343.45}
{POWER : 15623.34577}
{POWER : 123.434}
I only require 123.4
from 123.45
, 15623.3
from 15623.34577
, etc.
How can I achieve this?