Hi,
I want to get the sprintf() function in java.
Please write the code of the following sprintf() function in java.
sprintf(buff,"% 2.2X ",RValue);
Here buff is a string variable and RValue is also a string variable. The middle parameter is the format. My question is how to store the value of RValue in buff using the format specified("%2.2 X ").
I want to get the sprintf() function in java.
Please write the code of the following sprintf() function in java.
sprintf(buff,"% 2.2X ",RValue);
Here buff is a string variable and RValue is also a string variable. The middle parameter is the format. My question is how to store the value of RValue in buff using the format specified("%2.2 X ").
Comment