AntaoAlmada
AntaoAlmada
CC#
Created by BiscuitsAndTea on 1/17/2024 in #help
Writing something to the power of?
For example, for 2^2.5, with .NET 7 or later, you have the flexibility to employ either float.Pow(2, 2.5f) or double.Pow(2, 2.5), depending on the precision required. In case you're working with earlier versions, utilize MathF.Pow(2, 2.5f) or Math.Pow(2, 2.5) accordingly.
12 replies