Fichtelgard

Parse to a Float

export function parseFloatValue(value: string, digits: number = 2): number {
return parseFloat(parseFloat(value).toFixed(2));
}