My C# Script in Unity Math Power Assignment

Above is the screenshot from Unity
Hear is the code incase you can’t see it in the above:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Power : MonoBehavior
{
    private float power;

    void Start()
    {
        power = UnityEngine.Mathf.Pow(2, 24);
    }

    void Update
    {
        Debug.Log(power);
    }
}

Answer is 1.677722E+07

Very good! Keep up the good work!

Privacy & Terms