C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
AnalyzeReTesting.Utilities.Output.DoubleConverter Class Reference

A class to allow the conversion of doubles to string representations of their exact decimal values. The implementation aims for readability over efficiency. Credit: Jon Skeet (https://csharpindepth.com/Articles/General/FloatingPoint.aspx) More...

Static Public Member Functions

static string ToExactString (double d)
 Converts the given double to a string representation of its exact decimal value.
 

Detailed Description

A class to allow the conversion of doubles to string representations of their exact decimal values. The implementation aims for readability over efficiency. Credit: Jon Skeet (https://csharpindepth.com/Articles/General/FloatingPoint.aspx)

Definition at line 69 of file Output.cs.

Member Function Documentation

◆ ToExactString()

static string AnalyzeReTesting.Utilities.Output.DoubleConverter.ToExactString ( double  d)
inlinestatic

Converts the given double to a string representation of its exact decimal value.

Parameters
dThe double to convert.
Returns
A string representation of the double's exact decimal value.

Definition at line 77 of file Output.cs.


The documentation for this class was generated from the following file: