Repository: vscode
Issue: [json] validation not working for a large enough number
Labels: bug,json

Type: <b>Bug</b>

When validating JSON against JSON schema, if a large enough number has been entered, the validation for that number will stop working (producing errors). 15 digits seem to be working fine, validation stops working after the 16th digit has been entered.

Schema example:
```
{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"$id": "https://validationNotWorkingExample",
	"properties": {
		"twoDigitNumber": {
			"type": "number",
			"multipleOf": 0.01
		}
	}
}
```

Data example 1:
```
{
	"$schema": "./JsonSchema.json",
	"twoDigitNumber": 123456789012345.001
}
```
will trigger validation:
`
[{
	"resource": "/c:/Repositories/JSON Validator Bug Report/JsonData.json",
	"owner": "_generated_diagnostic_collection_name_#1",
	"severity": 4,
	"message": "Value is not divisible by 2.",
	"startLineNumber": 3,
	"startColumn": 20,
	"endLineNumber": 3,
	"endColumn": 39
}]
`

Data example 2:
```
{
	"$schema": "./JsonSchema.json",
	"twoDigitNumber": 1234567890123456.001
}
```
will not.

[Image](https://github.com/FERViborg/bugReports/blob/main/JsonValidation1.gif)

Since in JSON, there are no default limitations or restrictions on the size or range of integer or number values I'm guessing this is a bug.

I've only discovered it because I need 18 digit number to be validated.

----------------------------
VS Code version: Code 1.81.0 (6445d93c81ebe42c4cbd7a60712e0b17d9463e97, 2023-08-02T12:37:13.485Z)
OS version: Windows_NT x64 10.0.19045
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz (6 x 3000)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|undefined|
|Memory (System)|15.87GB (2.49GB free)|
|Process Argv|--crash-reporter-id d287593a-ace2-487e-baef-e22d2b262df5|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (21)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-sql-formatter|adp|1.4.4
replacerules|bhu|0.4.2
overtype|DrM|0.5.0
db2connect|IBM|2.3.0
vscode-docker|ms-|1.26.0
remote-containers|ms-|0.304.0
remote-wsl|ms-|0.81.0
live-server|ms-|0.4.9
powershell|ms-|2023.6.0
fabric8-analytics|red|0.3.10
java|red|1.21.0
vscode-xml|red|0.26.1
caseformatter|Rob|0.26.0
commands|use|1.12.0
intellicode-api-usage-examples|Vis|0.2.7
vscodeintellicode|Vis|1.2.30
vscode-java-debug|vsc|0.53.0
vscode-java-dependency|vsc|0.23.1
vscode-java-pack|vsc|0.25.13
vscode-java-test|vsc|0.39.1
vscode-maven|vsc|0.42.0


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
2e4cg342:30602488
89544117:30613380
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofb:30804716
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
e537b577:30795824
dsvsc013:30795093
dsvsc014:30804076

```

</details>

<!-- generated by issue reporter -->