Skip to content

addon to convert decimal to fraction

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
COPYING.txt
Notifications You must be signed in to change notification settings

techexplorers123/decimal2fraction

Repository files navigation

decimal to fraction convertor

a simple addon to convert decimal numbers to fraction. e.g., 0.5 will become 1/2.

I've created this addon mainly for myself to easily convert decimal results from the windows calculator to fractions since there is no way to do that on the windows calculater app.

feal free to reach out if you face any problems with this addon, i will try my best to help.

o, and also feal free to copy, modify, and distribute this addon to your hards contempt.

Download

  • Current stable version (Python 3 only, requires NVDA 2019.3 or later): decimal2fraction

Keystrokes

  • alt+NVDA+s: converts the selected number in to fraction.

  • alt+NVDA+a: converts the number on the clipboard to fraction.

  • pressing eather shortcuts twice will copy the result to the clipboard.

  • all the shortcuts can be customized from the "input gestures" menu.

Source code

Source code is available at https://github.com/techexplorers123/decimal2fraction/.