FLImaging 6.5.13.1
FloatingPointUtilities.h
1#pragma once
2
11#include "FLString.h"
12
13namespace FLImaging
14{
15 namespace Base
16 {
24 class FL_EXPORT CFloatingPointUtilities : public CFLBase
25 {
26 protected:
35
36 public:
48 static int32_t GetDecimalPlace(float f32Value);
49
61 static int32_t GetDecimalPlace(double f64Value);
62
63
78
93
94
95 DeclareGetClassType();
96 };
97 }
98}
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition INIUtilities.h:20
Floating point utilities class.
Definition FloatingPointUtilities.h:25
static CFLString< wchar_t > GetStringWithDecimalPlaceRecognition(double f64Value)
Recognize the decimal places of the input floating-point value and convert it to a string with the ex...
static int32_t GetDecimalPlace(double f64Value)
Measures and returns the number of decimal places in an input floating point value.
static CFLString< wchar_t > GetStringWithDecimalPlaceRecognition(float f32Value)
Recognize the decimal places of the input floating-point value and convert it to a string with the ex...
static int32_t GetDecimalPlace(float f32Value)
Measures and returns the number of decimal places in an input floating point value.