---
title: "Comment by Rajanand Ilangovan on \"SQL Server extract only the number after the decimal point\" | Hashnode"
description: "Hi Soykan OZCELIK , Just a note on precision for your reference. The precision is the number of digits in the number and scale is the number of digits after the"
url: "https://hashnode.com/posts/sql-server-extract-only-the-number-after-the-decimal-point/61bc7f586916c3593a6b09f0/comment/61e32b048a425719c17336a5"
---

[Discussion](https://hashnode.com/posts/sql-server-extract-only-the-number-after-the-decimal-point/61bc7f586916c3593a6b09f0)

Comment [SQL Server extract only the number after the decimal point](https://hashnode.com/posts/sql-server-extract-only-the-number-after-the-decimal-point/61bc7f586916c3593a6b09f0)

[Rajanand Ilangovan](https://hashnode.com/@Rajanand)

[Jan 15, 2022](https://hashnode.com/posts/sql-server-extract-only-the-number-after-the-decimal-point/61bc7f586916c3593a6b09f0/comment/61e32b048a425719c17336a5)

Hi [Soykan OZCELIK](https://hashnode.com/@soykanozcelik),

Just a note on precision for your reference. The precision is the **number of digits in the number** and scale is the number of digits after the decimal. As per the example 45.90 has precision of 4 (as there are 4 digits in 45.90) and scale of 2 (i.e., 90).

[docs.microsoft.com/en-us/sql/t-sql/data-types/pre…](https://docs.microsoft.com/en-us/sql/t-sql/data-types/precision-scale-and-length-transact-sql?view=sql-server-ver15)

Thanks, Rajanand
