
- C# Basic Tutorial
- C# - Home
- C# - Overview
- C# - Environment
- C# - Program Structure
- C# - Basic Syntax
- C# - Data Types
- C# - Type Conversion
- C# - Variables
- C# - Constants
- C# - Operators
- C# - Decision Making
- C# - Loops
- C# - Encapsulation
- C# - Methods
- C# - Nullables
- C# - Arrays
- C# - Strings
- C# - Structure
- C# - Enums
- C# - Classes
- C# - Inheritance
- C# - Polymorphism
- C# - Operator Overloading
- C# - Interfaces
- C# - Namespaces
- C# - Preprocessor Directives
- C# - Regular Expressions
- C# - Exception Handling
- C# - File I/O
- C# Advanced Tutorial
- C# - Attributes
- C# - Reflection
- C# - Properties
- C# - Indexers
- C# - Delegates
- C# - Events
- C# - Collections
- C# - Generics
- C# - Anonymous Methods
- C# - Unsafe Codes
- C# - Multithreading
- C# Useful Resources
- C# - Questions and Answers
- C# - Quick Guide
- C# - Useful Resources
- C# - Discussion
How to calculate fractional power using C#?
To calculate fractional power in C#, use the Math.Pow method.
The following sets 5 to the power 3.7 −
double res = Math.Pow(5, 3.7);
The following is the complete example showing how to calculate fractional power in C# −
Example
using System; class Program { static void Main() { double res = Math.Pow(5, 3.7); Console.WriteLine("Result = {0}", res); Console.ReadLine(); } }
Output
Result = 385.646164200006
- Related Articles
- How to calculate power of three using C#?
- How to calculate the power exponent value using C#?
- C++ Program to Calculate Power Using Recursion
- How to calculate Power of a number using recursion in C#?
- How to calculate power ?
- Java Program to calculate the power using recursion
- Haskell Program to calculate the power using Recursion
- Golang Program to Calculate The Power using Recursion
- How to find the fractional power of a negative number in R?
- C++ Program to Calculate Power of a Number
- C program to calculate power of a given number
- Java program to calculate the power of a Given number using recursion
- How to calculate the Size of Folder using C#?
- How to calculate Elapsed time in OpenCV using C++?
- How to calculate the length of the string using C#?

Advertisements