What function to format "55.0 L" into "55.0" ?
In order to create an indicator for the fuel used, I need to get a numeric value out of [GameRawData.SessionData.CarSetup.Chassis.Rear.FuelLevel] which atm it's sitting at "55.0 L" and in order to operate with it, I need it formatted to "55.0"
Is there any function I can use to achieve this format of data that is given with its units?
Thank you all very much for your time!
Try: replace([GameRawData.SessionData.CarSetup.Chassis.Rear.FuelLevel], ' L', '')
@romainrob the man himself!
Thank you very much man, that totally worked. Never used that function and it truly opens a ton of possibilities for me!