Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Can some one tell me how to roud a decimal number into nearest whole number using python. Because 'round()' failed for me. 🐍
python3
31 Votos
16 Respuestas
23rd May 2020, 9:36 AM
Ona Nixon 🇹🇿 👑
How to get decimal points in my output in this case?
c++
1 Voto
2 Respuestas
5th Feb 2018, 3:17 PM
Rajdeep Singh
If someone want a code that convert binary to decimal or decimal to binary, I made the both in Java, if it helps you, like!
binary
decimal
java
1 Voto
2 Respuestas
16th Nov 2017, 12:34 AM
kernelpanic_r
How to round of float value to two decimal value in java?
float
java
off
rounding
value
2 Votos
2 Respuestas
6th Jul 2017, 4:10 PM
Jaya Bharathi M
How do you write a calculator program to output decimal answers in C++
c++
0 Votos
3 Respuestas
24th Oct 2019, 4:51 PM
Immanuel Immanuel
Is there a function that return a decimal point value from a double/float ?
c++
double
float
0 Votos
4 Respuestas
31st May 2019, 8:50 AM
Noverdi Ramadhan
Can anyone suggest me a method to convert a decimal number to binary and vice versa?
binary
c++
code
decimal
1 Voto
11 Respuestas
17th Aug 2017, 2:37 PM
Naman Gogia
*CHALLENGE* A prgm to convert decimal numbers having fractional part to hexadecimal number??
c
c++
conversion
decimaltohexadecimal
program
3 Votos
2 Respuestas
17th Feb 2018, 11:14 AM
AswiniAchu
How can I conert hexadecimal number to decimal and vice versa?
java
0 Votos
1 Respuesta
19th Sep 2022, 4:15 PM
Devansh Shukla
I need help converting hexadecimal characters to decimal characters in c#
help
0 Votos
2 Respuestas
23rd Mar 2017, 10:39 AM
Ryan Cain
how can I control the no. of numbers after decimal point?
c++
0 Votos
2 Respuestas
12th Jul 2016, 4:29 AM
frizern
Trying to write code for converting decimal number into binary but it is showing output ending with "none"
#decimal_to_binary
#python
0 Votos
9 Respuestas
19th Sep 2022, 2:20 PM
vishwajeet pradip ghuge
Do all languages have this anomaly, 0.3 + 0.4 == 0.7 will be false ?
anomaly
decimal
javascript
7 Votos
6 Respuestas
12th Mar 2018, 12:58 PM
Morpheus
What is the maximum number of decimal digits that python can work with?
decimal
precision
python3
1 Voto
1 Respuesta
25th Jan 2022, 9:00 AM
Avinash Suresh
How to add this?
decimal
howto
input
python
1 Voto
13 Respuestas
18th Mar 2021, 8:39 AM
Shubhadeep Saha
i want my output in decimal digits.how can i get it
c++
operators
0 Votos
2 Respuestas
25th Jul 2017, 9:41 PM
S.Gowtham
How can we convert a fractional binary number into a decimal num?
challenges
hashmap
0 Votos
3 Respuestas
12th Apr 2017, 1:45 PM
Waqas Aslam
how to write a psuedocode for the conversion of decimal to binary numbers?
binary
conversion
decimal
for
how
of
psuedocode
to
write
0 Votos
4 Respuestas
17th Sep 2017, 8:40 AM
kamran arshad
Is there any way to make float or double value less than 4 decimal places?
decimalplace
java
javascript
1 Voto
3 Respuestas
10th Dec 2019, 1:44 PM
FrostCore
Very strange - Java - Convert decimal int to binary and sum the ones?
java
0 Votos
3 Respuestas
3rd Sep 2021, 10:36 AM
Ethan
please Can anyone solve my problem i want to make simple Decimal to Binary Converter
converter
debug
issue
javascript
problem
solve
this
1 Voto
5 Respuestas
2nd Jul 2017, 4:56 PM
arbaz
Is there a function that return a decimal point value from a double/float ?
c++
double
float
0 Votos
3 Respuestas
31st May 2019, 8:50 AM
Noverdi Ramadhan
What is the code for decimal to binary conversion in cpp
1
-3 Votos
2 Respuestas
3rd Sep 2018, 5:43 PM
Archana Berad
Can someone tell me how to check whether the number is binary or hex or decimal in python
pyhob
1 Voto
8 Respuestas
1st Sep 2018, 6:39 AM
prateek verma
How do i round off a float value to two decimal place.
data-types
float
python
0 Votos
2 Respuestas
1st Aug 2016, 5:46 AM
Y. Aakash
How to make a number print out up to N decimal numbers
decimal
formatting
java
0 Votos
2 Respuestas
25th Jan 2017, 5:27 PM
Carlos Cintron
Given a positive real number,print its first digit to the right of the decimal point.
python
1 Voto
2 Respuestas
27th Jan 2019, 3:31 PM
周志桓
Read 4 Byte floating point numbers file and save it as decimal numbers c++
c++
files
1 Voto
1 Respuesta
18th Jul 2018, 4:18 PM
Khaled
How do I make a C program that converts decimal numbers in binary?
bianary
c
conversion
decimal
dowhile
0 Votos
2 Respuestas
17th May 2018, 8:13 AM
Giova Zeta
Why am I getting the values after decimal zero when they are not supposed to be zero??
c
float
variables
2 Votos
1 Respuesta
3rd Feb 2019, 12:25 PM
Shirshendu Dey
How can we display floats in cpp without including <cstdio>? I tried by cout but it won't display decimal digits after "0".
<iomanip>
data-types
precision
2 Votos
18 Respuestas
20th May 2020, 4:21 AM
Aditya Raj
How to convert a decimal number to corresponding binary number without using bin function in python?
python3
0 Votos
5 Respuestas
23rd Sep 2017, 3:49 AM
Likhitha Bandaru
How do I convert a number in octal system into a number in decimal system?
decimalsystem
octalsystem
0 Votos
3 Respuestas
10th Jan 2022, 11:33 AM
Oliwia Hejduk
How do I select how many decimal places are displayed on my screen
c++
2 Votos
1 Respuesta
8th Dec 2017, 4:34 PM
Anna
I want to convert decimal to binary but it prints it binary in reverse order without array.
cpp
0 Votos
4 Respuestas
16th Oct 2019, 6:58 AM
M Abdur Rafey Ahmed
Why the decimal floating in python is represented in same way as we write .
python3
1 Voto
3 Respuestas
14th May 2020, 2:26 PM
Kaushal Kishore
Why does this code give me no output on code playground?
binary
c
conversion
decimal
6 Votos
6 Respuestas
4th Dec 2018, 12:04 AM
Sonic
Can somebody help me in a java progarm to convert decimal to binary form
java
0 Votos
2 Respuestas
8th Aug 2018, 4:52 PM
Busky Bharadvaj
How do I round off floating point numbers to my specific number of decimal places in C Language?
c
0 Votos
2 Respuestas
8th Jun 2021, 12:40 AM
Mwamba
Who to make binary to decimal conversion program in c or c++?
c
c++
javascript
-1 Voto
2 Respuestas
11th Feb 2018, 4:59 AM
Shahid ali
how to print float 3.14 as 3.140 in c++ means 3 digit after decimal point
c++
iomanip.h
setprecison
setw
1 Voto
2 Respuestas
28th Apr 2017, 7:51 PM
Gadget tester
How to get out put in c++ like 2.34 decimal 2 points ?I need code
c++
0 Votos
2 Respuestas
12th Jul 2019, 3:01 AM
EMEEJOR
Program to convert a decimal number into its corresponding octal binary hexadecimal number
c++
0 Votos
2 Respuestas
14th May 2017, 4:56 AM
Tehreem
How I can in one method 《public void 》convert binary to decimal easy way in Java for beginners?
binarytodecimal
convertbinarytodecimal
javabeginners
javaconvertmachine
0 Votos
2 Respuestas
16th Jan 2020, 7:49 PM
Mika Timur
so do all your maths answer have to have a decimal point in python 3.5 ?
python
1 Voto
4 Respuestas
10th Sep 2019, 6:39 AM
pieterdeklerk
How i get only Integer Part of number if the decimal part = 0 in Kotlin ?
kotlin
3 Votos
1 Respuesta
12th Jan 2022, 1:22 PM
Ahmed Seddiki
How to convert binary into numbers?
binary
conversion
decimal
1 Voto
8 Respuestas
11th Feb 2017, 12:57 PM
Daniel Fernandes
please help me out i want discount rate upto decimal figure (upto 6 digit)
java
variables
0 Votos
2 Respuestas
7th Apr 2020, 7:41 PM
joyti negi
Why can't float compile %? So how to get the surplus of decimal divisions?
c++
problem#float#%
0 Votos
2 Respuestas
11th Nov 2018, 10:04 PM
milad
How to Write a program to convert Binary codes to ASCII decimal and to Character equivalent ?
python
0 Votos
3 Respuestas
8th Jan 2023, 6:38 AM
Jhazel Rose Hitalia
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
5
6
7
...
9
Siguiente >
En tendencia hoy
Guys help please
1 Votes
Python question
2 Votes
Are websites hackable?
1 Votes
Python
1 Votes
Void functional void with bool function
0 Votes
TICTACTOE
0 Votes
C# and sql
1 Votes
What course to take for AI?
0 Votes
Error
0 Votes
What's an unsigned int?
0 Votes