toPrimitiveType

fun <T : Number> Number.toPrimitiveType(dtype: DataType): T