SHARE
TWEET

Frac_to_Dec_51Dec

Python253 Apr 25th, 2019 (edited) 131 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             FRACTIONS TO DECIMALS: (0/1~10/10)
  2.                 UP TO 51 DECIMAL PLACES
  3.  
  4.  
  5.  
  6.  0/1 = 0.0
  7.  
  8.  1/1 = 1.0
  9.  
  10.  0/2 = 0.0
  11.  
  12.  1/2 = 0.500000000000000000000000000000000000000000000000000
  13.  
  14.  2/2 = 1.0
  15.  
  16.  0/3 = 0.0
  17.  
  18.  1/3 = 0.333333333333333314829616256247390992939472198486328
  19.  
  20.  2/3 = 0.666666666666666629659232512494781985878944396972656
  21.  
  22.  3/3 = 1.0
  23.  
  24.  0/4 = 0.0
  25.  
  26.  1/4 = 0.250000000000000000000000000000000000000000000000000
  27.  
  28.  2/4 = 0.500000000000000000000000000000000000000000000000000
  29.  
  30.  3/4 = 0.750000000000000000000000000000000000000000000000000
  31.  
  32.  4/4 = 1.0
  33.  
  34.  0/5 = 0.0
  35.  
  36.  1/5 = 0.200000000000000011102230246251565404236316680908203
  37.  
  38.  2/5 = 0.400000000000000022204460492503130808472633361816406
  39.  
  40.  3/5 = 0.599999999999999977795539507496869191527366638183594
  41.  
  42.  4/5 = 0.800000000000000044408920985006261616945266723632812
  43.  
  44.  5/5 = 1.0
  45.  
  46.  0/6 = 0.0
  47.  
  48.  1/6 = 0.166666666666666657414808128123695496469736099243164
  49.  
  50.  2/6 = 0.333333333333333314829616256247390992939472198486328
  51.  
  52.  3/6 = 0.500000000000000000000000000000000000000000000000000
  53.  
  54.  4/6 = 0.666666666666666629659232512494781985878944396972656
  55.  
  56.  5/6 = 0.833333333333333370340767487505218014121055603027344
  57.  
  58.  6/6 = 1.0
  59.  
  60.  0/7 = 0.0
  61.  
  62.  1/7 = 0.142857142857142849212692681248881854116916656494141
  63.  
  64.  2/7 = 0.285714285714285698425385362497763708233833312988281
  65.  
  66.  3/7 = 0.428571428571428547638078043746645562350749969482422
  67.  
  68.  4/7 = 0.571428571428571396850770724995527416467666625976562
  69.  
  70.  5/7 = 0.714285714285714301574614637502236291766166687011719
  71.  
  72.  6/7 = 0.857142857142857095276156087493291124701499938964844
  73.  
  74.  7/7 = 1.0
  75.  
  76.  0/8 = 0.0
  77.  
  78.  1/8 = 0.125000000000000000000000000000000000000000000000000
  79.  
  80.  2/8 = 0.250000000000000000000000000000000000000000000000000
  81.  
  82.  3/8 = 0.375000000000000000000000000000000000000000000000000
  83.  
  84.  4/8 = 0.500000000000000000000000000000000000000000000000000
  85.  
  86.  5/8 = 0.625000000000000000000000000000000000000000000000000
  87.  
  88.  6/8 = 0.750000000000000000000000000000000000000000000000000
  89.  
  90.  7/8 = 0.875000000000000000000000000000000000000000000000000
  91.  
  92.  8/8 = 1.0
  93.  
  94.  0/9 = 0.0
  95.  
  96.  1/9 = 0.111111111111111104943205418749130330979824066162109
  97.  
  98.  2/9 = 0.222222222222222209886410837498260661959648132324219
  99.  
  100.  3/9 = 0.333333333333333314829616256247390992939472198486328
  101.  
  102.  4/9 = 0.444444444444444419772821674996521323919296264648438
  103.  
  104.  5/9 = 0.555555555555555580227178325003478676080703735351562
  105.  
  106.  6/9 = 0.666666666666666629659232512494781985878944396972656
  107.  
  108.  7/9 = 0.777777777777777790113589162501739338040351867675781
  109.  
  110.  8/9 = 0.888888888888888839545643349993042647838592529296875
  111.  
  112.  9/9 = 1.0
  113.  
  114.  0/10 = 0.0
  115.  
  116.  1/10 = 0.100000000000000005551115123125782702118158340454102
  117.  
  118.  2/10 = 0.200000000000000011102230246251565404236316680908203
  119.  
  120.  3/10 = 0.299999999999999988897769753748434595763683319091797
  121.  
  122.  4/10 = 0.400000000000000022204460492503130808472633361816406
  123.  
  124.  5/10 = 0.500000000000000000000000000000000000000000000000000
  125.  
  126.  6/10 = 0.599999999999999977795539507496869191527366638183594
  127.  
  128.  7/10 = 0.699999999999999955591079014993738383054733276367188
  129.  
  130.  8/10 = 0.800000000000000044408920985006261616945266723632812
  131.  
  132.  9/10 = 0.900000000000000022204460492503130808472633361816406
  133.  
  134.  10/10 = 1.0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top