imranahmed
Advanced Member level 3
- Joined
- Dec 4, 2011
- Messages
- 817
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- Karachi,Pakistan
- Activity points
- 6,493
Please let know that the sprint command can separate the numbers to individuals characters like,
I did like this but it cannot do this.
Code:
char buff[10];
double f = 12.3;
//buff[0] = 1
//buff[1] = 2
//buff[2] = .
//buff[3] = 3
and then in main body
main()
{
sprint(buff , "%f" , f);
Print(buff[0]); // This Print function use to display any integer value on 7-seg display
}
I did like this but it cannot do this.