Decimal values exported to JSON don't match values shown in result grid

Author: hanercamiloCreated Jun 27, 2025Updated Oct 18, 2025
  • Azure Data Studio Version: 1.52.0 (user setup)
  • OS Version: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. Simulate a query returning a decimal value using e.g.:
  • SELECT 5656.555 AS decimal_value, '6588.885' AS varchar_value
  1. Export/Save the result using the "Save as JSON" option.
  2. Observe the value of the decimal_value key in the exported JSON — it does not match the value shown in the program interface.
  3. The varchar_value is exported correctly, so the issue seems to affect decimal values only.
  4. I recommend testing with values that have two and three decimal places, as during the export process, values with three decimal digits might be incorrectly treated as integers.

Does this issue occur when all extensions are disabled?: Yes

Image

Source: microsoft/azuredatastudio