About 50 results
Open links in new tab
  1. Converting inputted fractions into decimals - Stack Overflow

    Feb 2, 2024 · If such compound whole and fractional numbers are going to be allowed for entry, either a subsequent parsing function would need to be built or the whole number portion would need to be …

  2. Convert fraction to decimal in Python - Stack Overflow

    Since both Fraction and Decimal are objects in Python's standard library, the question in title implies you want to do this python - Best way to convert fractions.Fraction to decimal.Decimal? - Stack Overflow. …

  3. Fraction to decimal in MATLAB - Stack Overflow

    Closed 8 years ago. How can I convert a fractional number into decimal number in MATLAB? I have written some program in MATLAB. But in the iterative process it gives all the number in fraction form …

  4. How to convert a decimal number into fraction? - Stack Overflow

    I was wondering how to convert a decimal into a fraction in its lowest form in Python. For example:

  5. convert decimal number to fraction in javascript or closest fraction

    May 10, 2014 · So i want to be able to convert any decimal number into fraction. In both forms such as one without remainder like this: 3/5 or with remainder: 3 1/4. what i was doing is this.. lets say i have …

  6. Convert a decimal number to a fraction / rational number

    Feb 9, 2013 · What function from fraction.js should I use to convert a decimal to a fraction (for example, converting 0.003 to a fraction such as 3/1000)? I still don't know which specific function I should use …

  7. python - NumPy: convert decimals to fractions - Stack Overflow

    Feb 13, 2017 · Are you just talking about the representation when printing it? Or do you actually want numpy to invert the matrix using something like fractions.Fraction?

  8. R: converting fractions into decimals in a data frame

    Feb 24, 2018 · I am trying to convert a data frame of numbers stored as characters in a fraction form to be stored as numbers in decimal form. (There are also some integers, also stored as char.) I want to …

  9. Matlab - Use Decimals in Symbolic Expression - Stack Overflow

    Feb 2, 2020 · 2 In this simple example, using the function vpa in a symbolic expression one can convert the outer fraction into decimal:

  10. Convert Fraction String to Decimal? - Stack Overflow

    Aug 22, 2011 · I developed a function to convert a value using a factor that may be passed as a fraction of integers or decimals. The user input and conversion factor might not be in the correct format, so it …