April 18, 2025, 06:55:12 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
Forever
Login with username, password and session length
News
: Want to see a specific Tutorial? ASK!
Home
Help
Search
Arcade
Links
Staff List
Login
Register
clng function
Weekly Qbasic and Qb64 Lesson Topics
>
Forum
>
General Category
>
General QB64 Forum
>
clng function
Pages: [
1
]
« previous
next »
Print
Author
Topic: clng function (Read 358 times)
parsec
Newbie
Posts: 2
clng function
«
on:
June 18, 2018, 08:05:58 am »
Hi,
I have a problem rounding numbers: why
PRINT CLNG(90.7755 * 1000) / 1000 = 90.776
and instead
PRINT CLNG(90.7754 * 1000) / 1000 = 90.77500000000001?
I'm becoming crazy!
Thanks a lot!!
fabio
Report Spam
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Useful Information ,Rules,FAQs,LINKS,etc.
===> INTRODUCE Yourself
=> General QB64 Forum
=> MS DOS, FREE DOS, ANY DOS
-----------------------------
QB64 lessons and tutorials,Games
-----------------------------
=> Lesson Disussion
=> Weekly Lesson
=> Games
-----------------------------
TUTORIALS
-----------------------------
=> QB64 Tutorials
=> Text Adventure
=> QBasic Tutorials
=> Other Tutorials
-----------------------------
UNSEENS GDK+SFML Librarys
-----------------------------
=> Discussions on GDK+SFML
=> GDK+SFML Demos, and projects
-----------------------------
DEMOS
-----------------------------
=> Working QB64 Demos
=> QB64 Games
=> QB64 Programs You Are Proud Of.
=> Function + SUB Club
-----------------------------
OFF TOPIC,and Off The wall
-----------------------------
=> OffTopic and Off the Wall
Powered by
EzPortal
Loading...