Languages
[Edit]
EN

C# / .NET - min float value

0 points
Created by:
Roseanne-Read
1365

In C#, min float number value can be achieved using float.MinValue that is equal to -3.4028235E+38.

Quick solution:

 

Practical example

Edit

Output:

To see the whole number use the following solution:

Output:

Note:

The difference between the results is due to the precision of rounding the number.

References

Edit
  1. Single.MinValue Field (System) | Microsoft Docs

See also

Edit
  1. C# / .NET - max float value

  2. C# / .NET - min double value

  3. C# / .NET - max double value

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join