Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Can some one tell me how to roud a decimal number into nearest whole number using python. Because 'round()' failed for me. 🐍
python3
31 Votes
16 Réponses
23rd May 2020, 9:36 AM
Ona Nixon 🇹🇿 👑
How to get decimal points in my output in this case?
c++
1 Vote
2 Réponses
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 Vote
2 Réponses
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 Votes
2 Réponses
6th Jul 2017, 4:10 PM
Jaya Bharathi M
How do you write a calculator program to output decimal answers in C++
c++
0 Vote
3 Réponses
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 Vote
4 Réponses
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 Vote
11 Réponses
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 Votes
2 Réponses
17th Feb 2018, 11:14 AM
AswiniAchu
How can I conert hexadecimal number to decimal and vice versa?
java
0 Vote
1 Réponse
19th Sep 2022, 4:15 PM
Devansh Shukla
I need help converting hexadecimal characters to decimal characters in c#
help
0 Vote
2 Réponses
23rd Mar 2017, 10:39 AM
Ryan Cain
how can I control the no. of numbers after decimal point?
c++
0 Vote
2 Réponses
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 Vote
9 Réponses
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 Votes
6 Réponses
12th Mar 2018, 12:58 PM
Morpheus
What is the maximum number of decimal digits that python can work with?
decimal
precision
python3
1 Vote
1 Réponse
25th Jan 2022, 9:00 AM
Avinash Suresh
How to add this?
decimal
howto
input
python
1 Vote
13 Réponses
18th Mar 2021, 8:39 AM
Shubhadeep Saha
i want my output in decimal digits.how can i get it
c++
operators
0 Vote
2 Réponses
25th Jul 2017, 9:41 PM
S.Gowtham
How can we convert a fractional binary number into a decimal num?
challenges
hashmap
0 Vote
3 Réponses
12th Apr 2017, 1:45 PM
Waqas Aslam
Is there any way to make float or double value less than 4 decimal places?
decimalplace
java
javascript
1 Vote
3 Réponses
10th Dec 2019, 1:44 PM
FrostCore
how to write a psuedocode for the conversion of decimal to binary numbers?
binary
conversion
decimal
for
how
of
psuedocode
to
write
0 Vote
4 Réponses
17th Sep 2017, 8:40 AM
kamran arshad
Very strange - Java - Convert decimal int to binary and sum the ones?
java
0 Vote
3 Réponses
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 Vote
5 Réponses
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 Vote
3 Réponses
31st May 2019, 8:50 AM
Noverdi Ramadhan
What is the code for decimal to binary conversion in cpp
1
-3 Votes
2 Réponses
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 Vote
8 Réponses
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 Vote
2 Réponses
1st Aug 2016, 5:46 AM
Y. Aakash
How to make a number print out up to N decimal numbers
decimal
formatting
java
0 Vote
2 Réponses
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 Vote
2 Réponses
27th Jan 2019, 3:31 PM
周志桓
Read 4 Byte floating point numbers file and save it as decimal numbers c++
c++
files
1 Vote
1 Réponse
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 Vote
2 Réponses
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 Votes
1 Réponse
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 Votes
18 Réponses
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 Vote
5 Réponses
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 Vote
3 Réponses
10th Jan 2022, 11:33 AM
Oliwia Hejduk
How do I select how many decimal places are displayed on my screen
c++
2 Votes
1 Réponse
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 Vote
4 Réponses
16th Oct 2019, 6:58 AM
M Abdur Rafey Ahmed
Why does this code give me no output on code playground?
binary
c
conversion
decimal
6 Votes
6 Réponses
4th Dec 2018, 12:04 AM
Sonic
Why the decimal floating in python is represented in same way as we write .
python3
1 Vote
3 Réponses
14th May 2020, 2:26 PM
Kaushal Kishore
Can somebody help me in a java progarm to convert decimal to binary form
java
0 Vote
2 Réponses
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 Vote
2 Réponses
8th Jun 2021, 12:40 AM
Mwamba
Who to make binary to decimal conversion program in c or c++?
c
c++
javascript
-1 Vote
2 Réponses
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 Vote
2 Réponses
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 Vote
2 Réponses
12th Jul 2019, 3:01 AM
EMEEJOR
Program to convert a decimal number into its corresponding octal binary hexadecimal number
c++
0 Vote
2 Réponses
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 Vote
2 Réponses
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 Vote
4 Réponses
10th Sep 2019, 6:39 AM
pieterdeklerk
How to convert binary into numbers?
binary
conversion
decimal
1 Vote
8 Réponses
11th Feb 2017, 12:57 PM
Daniel Fernandes
How i get only Integer Part of number if the decimal part = 0 in Kotlin ?
kotlin
3 Votes
1 Réponse
12th Jan 2022, 1:22 PM
Ahmed Seddiki
please help me out i want discount rate upto decimal figure (upto 6 digit)
java
variables
0 Vote
2 Réponses
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 Vote
2 Réponses
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 Vote
3 Réponses
8th Jan 2023, 6:38 AM
Jhazel Rose Hitalia
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
5
6
7
...
9
Suivant >
Aujourd'hui en vedette
X velocity
2 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
1 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
Why Pro?
1 Votes
How to achieve "Sololearner" achievement?
0 Votes
Problem with Javascript
0 Votes