F
farseer
every example i found shows how to convert an into to a hex STRING.
But what if i have an API that expects and int or byte parameter, but
that parameter is expected to be a hex value?
for instance, i need to convert
int zeroVK_D = 47;
to
int zeroVK_H = 0x2f;
i would like to convert the first (decimal) to the second (hex). they
both represent the same thing, but i need to assign the hex to an int
to pass to an API. How can i do this type of conversion?
But what if i have an API that expects and int or byte parameter, but
that parameter is expected to be a hex value?
for instance, i need to convert
int zeroVK_D = 47;
to
int zeroVK_H = 0x2f;
i would like to convert the first (decimal) to the second (hex). they
both represent the same thing, but i need to assign the hex to an int
to pass to an API. How can i do this type of conversion?