This is the exception i am getting while running the code:
FormatException: format 'F' not implemented
System.Numerics.BigInteger.ToString (System.String format, IFormatProvider provider)
System.Numerics.BigInteger.ToString (System.String format)
GameManager.Start () (at Assets/Scripts/GameManager.cs:38)
Here is my code:
using UnityEngine;
using System.Collections;
using System.Numerics;
using Mono.Math;
public class GameManager : MonoBehaviour {
System.Numerics.BigInteger mynumber = System.Numerics.BigInteger.Parse("18000000000000000000000000000000000001" );
void Start () {
mynumber.ToString ("F" );
}
}
Please Help, what i am doing wrong.
↧