SAP Knowledge Base Article - Preview

2639497 - Unexpected decimal places in HANA Studio

Symptom

The result in HANA Studio shows unexpected decimal places.

For example, a field has data type DECIMAL(20, 5), when you select it, it shows fewer decimal places.

KBA_decimal1.JPG

While the result is as expected when running in hdbsql.

 KBA_decimal2.JPG

Also if converting it to varchar or nvarchar data type, the result has correct decimal places.

 KBA_decimal3.JPG

Due to this issue, unexpected result of decimal precision may happen when 'Data Preview' during modeling.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP HANA Platform 1.0
  • SAP HANA Platform 2.0

Product

SAP HANA 1.0, platform edition ; SAP HANA studio 1.0 ; SAP HANA studio 1.5 ; SAP HANA, platform edition 2.0

Keywords

unexpected result, wrong result, decima, decimal places, precision, data preview, HANA studio, hdbsql , KBA , HAN-STD-ADM-DBA , SAP HANA Studio (Eclipse) Admin Tooling , HAN-DB , SAP HANA Database , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.