Vijay Yadav
MModular
•Created by Vijay Yadav on 12/19/2023 in #questions
How to convert string to float value?
Sure, I will let you know once implemented properly. Currently its working but not very well organised 🥲
12 replies
MModular
•Created by Vijay Yadav on 12/19/2023 in #questions
How to convert string to float value?
Thanks carl! Its really helpful. You may include a case where float string is something like this "1.314E-3" in your library. I had implemented this case already but its seems slow that's why I was wondering if mojo have in-built function.
12 replies
MModular
•Created by Vijay Yadav on 12/19/2023 in #questions
How to convert string to float value?
I think float() function only works for Int and IntLiterals. It doesn't works for string and StringLiterals.
12 replies