Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

BigInteger.ToString("F") giving Format Exception

$
0
0
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.

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>