More Delphi Basics | Part 2 | Built in Math Functions and Procedures

  Рет қаралды 12,677

Mr Long Education - IT & CAT

Mr Long Education - IT & CAT

Күн бұрын

Пікірлер: 10
@lancemarchetti8673
@lancemarchetti8673 2 жыл бұрын
Nice!
@zenkocylallysithelo937
@zenkocylallysithelo937 7 ай бұрын
How do i round off a real number or any other number to certain decimal values?
@MrLongITandCAT
@MrLongITandCAT 7 ай бұрын
You should use the RoundTo function. Like this: rNum := RoundTo( 22/7 , -2 ) The -2 after the comma means to 2 decimal places, -1 would be to 1 decimal place, -3 to three decimal places, and so on. But you will need to add Math at the top under Uses
@toi_za4372
@toi_za4372 2 жыл бұрын
I am trying to do the Inc procedure but with real variables It does not seem to work Please hel0
@MrLongITandCAT
@MrLongITandCAT 2 жыл бұрын
Inc only works with ordinal types like integers. real variables are not ordinal. You can do this instead: rNum := rNum + 1 ;
@ramzamthel8014
@ramzamthel8014 Жыл бұрын
thanks
@Killerbeast3960
@Killerbeast3960 7 ай бұрын
Why must we have a rInput variable ?
@MrLongITandCAT
@MrLongITandCAT 7 ай бұрын
Which aspect are you referring too?
@Killerbeast3960
@Killerbeast3960 7 ай бұрын
@@MrLongITandCAT No worry sir I have figured it out
@8legs_gaming510
@8legs_gaming510 Жыл бұрын
:)
More Delphi Basics | Part 3 | Extra MATHematical functions UPDATED
16:24
Mr Long Education - IT & CAT
Рет қаралды 3,3 М.
More Delphi Basics | Part 1 | DIV, MOD and Constants
15:39
Mr Long Education - IT & CAT
Рет қаралды 13 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 86 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 61 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 52 МЛН
Huge math error in paper about black plastics
8:20
MindYourDecisions
Рет қаралды 9 М.
For Loops Part 1 - Introduction
16:22
Mr Long Education - IT & CAT
Рет қаралды 22 М.
Nested Loops Part 1 | Introduction
17:13
Mr Long Education - IT & CAT
Рет қаралды 4,2 М.
How do computers add numbers so quickly?
9:15
Spanning Tree
Рет қаралды 90 М.
Programming with Math | The Lambda Calculus
21:48
Eyesomorphic
Рет қаралды 246 М.
You have 30 seconds. Viral riddle from The 1% Club
8:42
MindYourDecisions
Рет қаралды 33 М.
The Midpoint Circle Algorithm Explained Step by Step
13:33
NoBS Code
Рет қаралды 168 М.
Why Is This Happening?! Floating Point Approximation
5:46
Subprograms Part 1- Introduction into functions and procedures
13:35
Mr Long Education - IT & CAT
Рет қаралды 20 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 86 МЛН