Skip to content

Cast array of numbers to array of integers #74

Answered by rubenvanassche
Lumbe asked this question in Q&A
Discussion options

You must be logged in to vote

Well you've got two options:

A) write a custom cast which changes the strings to ints
B) write a custom from method which changes the array before it is given to the data object

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lumbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants