Add cast function to primitive integers
#42456
Closed
cast function to primitive integers
#42456