Given an fraction decimal number n, convert it to its equivalent binary number.

If it is an infinite binary fraction, keep it upto k precision point.

  • n=55.125
  • out='110111.001'

Solution Stats

17 Solutions

11 Solvers

Last Solution submitted on Jul 29, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers11

Suggested Problems

More from this Author174

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!