Hey, I am creating a SC and want to throw an error saying "Amount 0.10 is not valid amount" instead of " Amount 100000000000000000 is not valid amount"" error. Simply, want to divide number 100000000000000000 with 10 ** 18. How can i display my error with readable amount?
0 Comments