You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
JsonsUtils_GLB_DECIMALSEPARATOR would be replaced by GLB_JSON_STD_DECIMALSEPARATOR and not the opposite:
function FixedTryStrToFloat(const S: string; out Value: Extended): Boolean;
var
FixedS: string;
begin
if JsonsUtils_GLB_DECIMALSEPARATOR = GLB_JSON_STD_DECIMALSEPARATOR then
begin
Result := TryStrToFloat(S, Value);
end
else
begin
FixedS := StringReplace( S,
JsonsUtils_GLB_DECIMALSEPARATOR,
GLB_JSON_STD_DECIMALSEPARATOR,
[rfReplaceAll]);
Result := TryStrToFloat(FixedS, Value);
end;
end;
Best regards.
The text was updated successfully, but these errors were encountered:
Hi,
JsonsUtils_GLB_DECIMALSEPARATOR would be replaced by GLB_JSON_STD_DECIMALSEPARATOR and not the opposite:
Best regards.
The text was updated successfully, but these errors were encountered: