Question about Texas Instruments TI-84 Plus Calculator

# Rounding a variable

I'm wrighting a programme and i want to round the final number. the programme calcs 'I', then i have written;
:round(1,5)->J
:Output(8,5,J
:Pause

when i run the programme, it works fine, except it diplays an answer that isn't rounded at all; usually it has about 9 decimal places.
what am i doing wrong???

Posted by on

• Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Sniper:

An expert who has posted more than 50 answers, of which 90% or more were rated as helpful.

• Expert

When your writing your program there is a much easier way of doing it. Just where ever you want in your program when hit mode then go to the point you want. so it will round to how many digits you want.
Lets say you want it rounded to 9 places go
:fix 9
:disp i
or what ever you want Good luck

Posted on Oct 25, 2008

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
goodluck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

## Related Questions:

### Round 3 to ten

Rounding 3 to the nearest tens.

The process should always be the same.

Step 1 - identify the column in question.
Step 2 - go the the column immediately to the right of this column
Step 3 - if this number is 5 or more, add 1 to the column in question and make all numbers to the right 0, or if to the right of the decimal, eliminate them.
Step 4 - if this number is 4 or less, don't add 1 to the column in question and make all number to the right 0, or if to the right of the decimal, eliminate them.

To assist, I have written the number as 03.

Step 1 - Tens column is the 0.
Step 2 - Column immediately to the right is 3
Step 3 - Number is not 5 or more
Step 4 - Number is 4 or less, set the numbers to the right to 0

The answer is 0. The numbers -4, -3, -2, -1, 0, 1, 2, 3, and 4 when rounded to the nearest 10, all round to 0.

Good luck,

Paul

Oct 11, 2016 | Office Equipment & Supplies

### How do I round a decimal when you have a lot of numbers after the decimal point?

You first have to decide what accuracy, that is how many decimals, are needed in the answer. There is a rule of thumb which says you should not quote more decimals than the accuracy of the data used in the calculation. Money calcs of course would usually use just 2 decimals.

So when dropping decimals round up the last remaining of the dropped decimal is 5 or over, otherwise it is unaltered. So 2.2361 rounded off to 3 dec is 2.236, and rounded to 2 dec it is 2.24.

Feb 15, 2015 | Computers & Internet

### What is a dependent and independent varible

Take this equation y = 3x + 4

As written x can be any value, and y depends on what that is. So y is the dependent variable here.

Of course you can write it the other way round, x = (y-4)/3 and then it appear that x is the dependent variable.

So in modelling a real situation it is important to arrange things so that the truly independent variable is modelled by "x", on the RHS

Say you were modelling fuel consumption as a function of speed. It becomes obvious that fuel consumption depends quite a bit on speed, so it should be the "y" variable.

Aug 21, 2014 | Computers & Internet

### How can I format a java string using a width variable?

The Entities in java are slightly different. I adore them being included (finally).

float bigNum = 123456.789012;

String pattern = String.format( "%10.2f is my magic number%n", bigNum);

System.out.println( pattern);

or

System.out.println(

String.format( "%10.3f", bigNum) );

the "decimal place" is the rounding.

String.format("%03.2f", bigNum));

if I want evenly spaced columns, I have to construct an Object[] array

array[0] = salaryAmt;

array[1] = hourly Rate;

array[2] = "Cowboy Bob";

System.out.println(

"%5.2f,%3.2d,%s%n, array);

Nov 21, 2012 | Jeep Cars & Trucks

### Where do I go to find an on-line manual for TI 5045 Sv Texas Instruments calculator?

TI-5045 SV
ii
English.............................................................. 1
Fran?ais ............................................................ 6
Espa?ol ............................................................. 11
Portugu?s ........................................................... 16
Examples, exemples, ejemplos, exemplos .............................. 21
ILLUSTRATIONS ¦ FIGURES ¦ ILUSTRACIONES¦ ILUSTRA??ES
Removable tab
Languette
Leng?eta extracci?n
Ink roller
Rouleau encreur
Tamp?n de tinta
Cartucho de tinta
1
English
Your Texas Instruments calculator has a built-in printer for producing a permanent record printout of
your calculations with negative numbers printed in red. A big, easy-to-read display also enables you to
check entries or perform quick calculations without printing.
GETTING STARTED
OFF ON PRT IC GT
POWER
1. Connect the calculator to a proper power outlet (110-120V or 220-240V
where available).
2. The calculator is turned on by setting the POWER switch to the PRT
position.
Inserting the paper (see illustrations 1, 2, 3, and 4 on page ii).
1. Turn on the calculator.
2. Open the printer compartment cover by pressing down on its front edge and sliding it back in the
direction of the arrow.
3. Fit the roll of paper on the holder so that it unrolls from the bottom, with the loose end toward the
calculator.
4. Cut the end of the paper squarely and insert it firmly into the printer slot on the back of the
calculator.
5. Press & until the paper is in the printing position.
Replacing the ink roller (see illustrations 5 and 6 on page ii)
1. Turn the calculator off and tear off the excess paper.
2. Remove the printer cover by pressing down on both sides of the front edge and sliding back in the
direction of the arrow.
3. Remove the old ink roller by lifting it with the removal tab.
4. Insert the new ink roller into the compartment and press down gently until it snaps into place. Close
the printer compartment.
Note: The old ink rollers should not be refilled. Replacement rollers can be obtained from your local
retailer. The warranty does not cover ink roller replacement.
2
SELECTION SWITCH SETTINGS
OFF ON PRT IC GT
POWER ROUND
: 5/4 9 + F 0 2 3
DECIMAL
4
TAX
SET CALC
Set the POWER, ROUND, DECIMAL and TAX switches as required.
Note: The TAX switch is spring-loaded to return to CALC when it is moved to SET and released.
The switch settings are summarized in the following table:
SWITCH SETTING FUNCTION
POWER ON
PRT
IC
GT
No printout is provided; however, the display can be printed by pressing
4.
The printer provides a printout of your calculations but does not count them.
The printer is on and an item count of additions and subtractions to or from
the register is printed when sub-totaled or totaled.
The GT position controls whether or not the totals from the independent add
register are accumulated in the grand total register.
ROUND Rounds the result of a calculation to the selected number of decimal places.
:
5/4
9
Truncates the result to the selected number of decimal places.
Rounds the result up or down according to its value. For example, when the
DECIMAL switch is set to 2, the result is rounded up if the third decimal
position is 5 or more and rounded down if it is 4 or less.
Rounds the result up to the selected number of decimal places.
Ex. 220 P 6
Setup: PRINTER: PRT, ROUND: :
DECIMAL: 2, TAX: CALC
Ex. 220 P 6
Setup: PRINTER: PRT, ROUND: 5/4
DECIMAL: 2, TAX: CALC
Press Display Printout Press Display Printout
2 0. 0¦ C
220 ' 220. 220¦ P
6 3 36.66 6¦ =
36¦66 ?
2 0. 0¦ C
220 ' 220. 220¦ P
6 3 36.67 6¦ =
36¦67 ?
DECIMAL + Add mode: All results are given with two decimal places. For addition and
subtraction only, a decimal point is automatically placed to the left of the last
two digits entered, unless the number already includes a decimal point.
F Floating mode: Any results are displayed and printed with the maximum
number of decimal places.
0 2 3 4 Fixed decimal mode: Sets the number of decimals to 0, 2, 3, or 4.
3
TAX SET
CALC
Lets you enter a tax rate to perform tax calculations.
Stores the tax rate. Pressing ! or " after a tax rate has been entered,
adds/subtracts the stored tax rate to/from the value in the display.
Ex. VAT = 17.5 %
100 + VAT
Ex. VAT = 17.5 %
235 - VAT
Setup: PRINTER: PRT, DECIMAL: F, ROUND: 5/4, TAX: CALC
Move and hold the TAX switch to SET. Press 217 L 5 and release the TAX switch. It
automatically returns to CALC. 17.5% is printed.
Press Display Printout Press Display Printout
2 0. 0¦ C
100! 117.5 100¦
17¦5 @
117¦5 ?
2 0. 0¦ C
235" 200. 235¦
N35¦ @
200¦ ?
Note: The most common setup is POWER: PRT, ROUND: 5/4, DECIMAL: 2, TAX: CALC. Use these
positions for the examples unless other settings are given.
KEY DESCRIPTIONS
Basic keys
I Clear Entry: Clears an entry, enabling you to enter another number in its place. Note
that this key does not clear the add register.
2 Clear Key: Clears the add register, any pending operations, and the display. 0.C is
printed. Does not clear the memory.
( Right Shift: Deletes the right-most digit entered from an entry before an operation key is
pressed. Shifts the remaining digits one place to the right.
L Decimal Point: Enters a decimal point.
4 Date/Non-Add: Prints a date (such as 12¦10¦96) or a number for reference purposes.
Does not affect calculations. This entry is printed on the left side of the printout, the date
or number preceded by the # sign.
: Subtotal: Gives the intermediate total from the add register. Using this key does not
affect the contents of the add register.
. Subtract: Subtracts a number from the add register. Displays the cumulated result.
E Total: Gives the total from the add register, and then clears the register.
4
Multiplication, division, percent and margin keys
? Multiply: Multiplies the number in the display by the next value entered.
' Divide: Divides the number in the display by the next value entered.
3 Equals: Completes any pending multiplication or division operation.
> Percent: Calculates percentages, ratios, add-ons (e.g. of VAT), or discounts.
# Gross Profit Margin: Calculates the selling price of an item when its cost and gross
profit (or loss) margin are known; also used to obtain a price excluding VAT.
Ex.
Cost: 594
Profit margin: 40%
Press:2 594 # 40 3
Selling price: 990
Gross profit: 396
Ex.
Selling price including VAT: 252
VAT %: 20%
Press: 252 # 20 . 3
Selling price excluding VAT: 210
VAT: 42
/ Grand Total: Gives the grand total of the operations previously performed and stored in the
Grand Total register. Every time a total is obtained with E it is cumulated into this register
(printout shows G+) which is only cleared when / is pressed twice. During long
calculations, if / is not used, this re

Jan 16, 2011 | Office Equipment & Supplies

### Can i do statistics on the casio fx-115 es? and how can i use it?

Yes and here is how to do 1-var statistics and 2-var statistics. Please read the whole post. I assume you know the theory. I will show you the key strokes

For 1-Var statistics
Press [MODE][3:STAT] [1:1-VAR]. You are ready to enter values in the X column.
Enter a number and press [=]. Cursor jumps to second number to enter.
Keep entering numbers and pressing [=] till all numbers are in. Press the [=] key after the last one.
Press [AC] key to clear the screen.
Press [SHIFT] [STAT] (above digit 1.) then [5:Var]. Screen displays the statistical variables 1:n ;2: x bar; 3: x sigma n; 4:x sigma n-1.
Press the number corresponding to the statistical value you want, ex 1:n . The variable appears on screen. Press [=] and it will be displayed.
To display another variable press [SHIFT][STAT][5:Var][ 1,2, 3, or 4] .

To access the sum of squares sigma x^2 and the sum of data sigma x press[SHIFT][STAT][4:SUM] then [1: for sigma x^2] or [2: for sigma x]. Press [SHIFT][STAT][6:MinMax] to access minX and maxX.

For 2-var statistics
To perform 2 variable statistics you press [MODE][3:STAT] and any of the other regression options (except 1:1-Var). A two column template opens where you enter the X and Y values. When finished entering data, press [SHIFT][STAT][5:Var]. to access the different statistics. As I assumed above, you should be able to recognize what each variable means.

Nov 06, 2010 | Casio FX-115ES Scientific Calculator

### My machine fills but wont spin or drain

Hi,
The problem will be in the timer kindly replace the timer to solve your problem

Jan 03, 2010 | Washing Machines

### MS-80TV AUTOMATICALLY ROUNDS UP TO 1 DECIMAL DIGIT

The [MODE] key can be used to select the modes described below.
Important! The following is a general explanation of Scientific Calculator modes. Note that your calculator may not include all of the modes described here.
1) Calculation Modes
Before performing a calculation, you first need to select the appropriate calculation mode.
COMP: Basic arithmetric calculations
(arithmetic operations, trigonometric functions, etc.)
COMPLEX: Complex number calculations
SD: Single-variable statistical calculations
(sample standard deviation, etc.)
LR or REG: Paired-variable statistical calculations
(linear regression statistical calculations, etc.)
BASE or BASE-n: Binary, octal, decimal, hexadecimal number system calculations
MAT: Matrix calculations (determinants, etc.)
VCT: Vector calculations
EQU: nth degree equations, simultaneous equations
2) Display Settings
Use these settings to control how calculation results are displayed.
Note that changing the Fix and Sci settings does not affect internal calculation results.
Norm: Exponential display format and cancels the currently configured Fix and Sci settings.
Fix: Specifies a fixed number of digits to the right of the decimal place.
Sci: Specifies a fixed number of significant digits.
3) Angle Unit Setting
Deg: Degrees
4) Engineering Mode
Use this mode when you want to input and perform calculations using engineering symbols.

Please rate this response . .

Sep 08, 2009 | Casio MS-80TV Scientific Calculator

### VB 6.0 ROUNDING A NUMBER

Use the Math.Round() function. It takes two arguments, the first is your number or a variable holding your number and the second is the number of decimal places. This will only round to fractions of a whole number though and you need to round to the nearest 10. So divide your number by 10 before you round to shift the decimal place once to the left and multiply by 10 again afterwards to shift it back again.

answer = Math.Round(32.1 / 10, 0) * 10

Apr 02, 2009 | Microsoft Visual Basic 6.0 for PC

## Open Questions:

#### Related Topics:

70 people viewed this question

Level 3 Expert

Level 3 Expert