Skip to content

A small bug concerning decimal numbers in different locales #96

@erikb999

Description

@erikb999

Hi, thanks for excellent software! It has made it possible to create a json-integration to a cloud solution in just a couple of days for a developer that has used VBA very little over the years.

Found a small bug:

In WebHelpers function json_ParseNumber the handling of "." and "," is faulty, which showed up when parsing json numbers in a "," locale (Sweden). The problem is that Val is not locale-aware, it always uses "." which is the decimal point specified in json. So the locale-aware change from "." to "," is not needed and in fact faulty - and should be removed!

Thanks /Erik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions