From f37786b2b68aa688810a798e8af3354cc9e42bce Mon Sep 17 00:00:00 2001 From: VinothSF5015 Date: Tue, 2 Jun 2026 22:44:26 +0530 Subject: [PATCH 1/2] content Added --- ...-to-maintain-the-same-number-format-in-a-cell.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md new file mode 100644 index 0000000000..3f6012daba --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md @@ -0,0 +1,13 @@ +--- +title: How to maintain the same number format in a cell? | Syncfusion +description: This page explains how to maintain the same number format in a cell using Syncfusion XlsIO Library. +platform: document-processing +control: XlsIO +documentation: UG +--- + +# How to maintain the same number format in a cell? + +When a value is set to a cell using the [Value](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Value) or [Value2](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Value2) property, the value is automatically parsed and the cell's number format is adjusted based on the parsed type. Because of this behavior, the change in format is not caused by any sorting operation itself, but by how the Value or Value2 property works when you reapply the value. + +To maintain the same number format in the cell, we recommend using the [Text](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Text) property instead of Value or Value2. \ No newline at end of file From b2e64e4d284309571916adec302e128bf821141d Mon Sep 17 00:00:00 2001 From: VinothSF5015 Date: Tue, 2 Jun 2026 22:53:36 +0530 Subject: [PATCH 2/2] Update how-to-maintain-the-same-number-format-in-a-cell.md --- .../faqs/how-to-maintain-the-same-number-format-in-a-cell.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md index 3f6012daba..d6b5f09e27 100644 --- a/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-maintain-the-same-number-format-in-a-cell.md @@ -1,6 +1,6 @@ --- title: How to maintain the same number format in a cell? | Syncfusion -description: This page explains how to maintain the same number format in a cell using Syncfusion XlsIO Library. +description: This page explains how to preserve consistent number formatting in a cell using the Syncfusion XlsIO library. platform: document-processing control: XlsIO documentation: UG @@ -10,4 +10,4 @@ documentation: UG When a value is set to a cell using the [Value](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Value) or [Value2](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Value2) property, the value is automatically parsed and the cell's number format is adjusted based on the parsed type. Because of this behavior, the change in format is not caused by any sorting operation itself, but by how the Value or Value2 property works when you reapply the value. -To maintain the same number format in the cell, we recommend using the [Text](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Text) property instead of Value or Value2. \ No newline at end of file +To maintain the same number format in the cell, we recommend using the [Text](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Text) property instead of Value or Value2.