I want to store a number that contain 14 digits
when I store the number as a float for exemple I want to store this number : 12345678912345
the first 8 digit stored normaly and the other will be a garbeg like that: 12345679020032.000000
this is the number that i get in the result
this is the function tha store the first digit:
void enqueue_number(double button_clicked){
if(numbers_isFull())
return;
if (numbers_isEmpty()){
front = rear = 0;
}
else{
rear = (rear+1)%MAX_SIZE;
}
numbers[rear] = button_clicked;
}
and this is the function that store the other digits:
void update_number(int button_clicked){
if(rear == -1)
return;
numbers[rear] = (numbers[rear] * 10) + button_clicked;
}