-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Describe Your Feature
Casting any number to a string
Provide a Code Snippet Using Your Feature
import numbers::Cast;
fn main() {
printf(12.cast<str>());
}Prerequisites
String adding
Additional Information
Should be done with an implementation of the Cast trait in the string.rv file. Should iterate over each digit, adding them to a string then returning that string.
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Medium
Status
Medium
Status
Easy