The result from the code below shows how to get the base number and formatted text using SpreadsheetGear for .NET :
Here is the result from the code:
x=18.124962832 y=18.124962832 formattedText=18.125
Here is the code:
namespace Program { class Program { static void Main(string[] args) {
You can see live SpreadsheetGear samples here and download a free trial.
Disclaimer: I have SpreadsheetGear LLC
source share