Yeah not sure what you are ding there?
Just know $5 of Bitcoin, currently valued at $68,549.79, is 0.00005791 of 1 Bitcoin
The above is your fraction of a Bitcoin.
It’s all done in binary though. Say there are 4 bitcoins.
2 = 010 in binary
3 = 011 in binary
5 = 101 in binary
7 = 111 in binary
First three bits would indicate the coin number then the next bits would indicate the fraction.
0100 would be half of the first bitcoin
0101 would be the other half.
0110 would be half of the second bitcoin
0111 would be the other half
Remaining halves:
1010, 1011, 1110, 1111
If necessary to split again add more bits.