How To Do Standard Algorithm With Decimals