Search
Star
1.4k
Feedback
Setup for Free
M
Modular
•
2y ago
•
3 replies
taalhaataahir01022001
String to float
How can i convert string to float32
?
e
.g
.
,
var a:String = "-0.01536663"
var a:String = "-0.01536663"
atol
is not helping as it
's used to convert to integers and not float
.
Modular
Join
This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.
20,311
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
var a:String = "-0.01536663"
var a:String = "-0.01536663"
Similar Threads
How to convert string to float value?
M
Modular / questions
3y ago
String to StringLiteral
M
Modular / questions
2y ago
string chars to uint8
M
Modular / questions
3y ago
Difference between Float32 and DType.float32
M
Modular / questions
3y ago