Hello Guys,
I have a floating point number 1.14475E+15 I want to convert this number in to full number (Integer or Big integer). I tried couple of functions it did not work. When I use INT=${FLOAT/.*} I am getting value as 1. I don't want a truncated value
hi, :)
I have a file like this
10.456
123.567
456.876
234.987
........
.......
What i want to do is ia have to add all those numbers and put the result in some other file.
Any help pls.
cheers
RRK (8 Replies)
Hi all!
Hi all!
I am working with a problem to find the smallest floating point number that can be represented.
I am going in a loop ,stating with an initial value of 1.0 and then diving it by 10 each time thru the loop.
So the first time I am getting o.1 which I wanted.But from the next... (4 Replies)
Hi,
see the simple code below
double i;
i=8080.9940;
printf(" val :%.30f\n",i);
output i m getting is
val :8080.993999999999700000000000000
when i m expecting
val :8080.9940
what happens?how can i avoid it?
thanks... (2 Replies)
Hi,
I have linux fedora 4 ver., 2.6 kernal. And qmail & mysql & samba servers are already configured on this server.
When I try to install any package like squidguard ,dansguardian,webmin,rsnapshots with command rpm -ivh . It is giving error as “Floating point exception"
Snap View is... (3 Replies)
Hi,
I' using bash and I would like to use "bc" to compute the ratio of of two numbers and assign the ratio to a variable.
The numbers are in a file, e.g.
196.304492
615.348986
Any idea how to do it?
N.B. I cannot change the file to have 196.304492 / 615.348986 as the file is produced by... (14 Replies)
Hello folks
I Hope everyone is fine. I am calculating number of bytes calculation from apache web log.
awk '{ sum += $10 } END { print sum }' /var/httpd/log/mydomain.log
7.45557e+09
it show above number, what should i do it sow number like 7455, i mean if after decimal point above 5 it... (5 Replies)
Hey,
I guess I am just to stupid and am not seeing the "wood for the trees", but I am always getting strange errors.
I want to create a mesh with coordinates like:
x y z
3.1 3.0 0.75 0 0 1
3.1 2.9 0.75 0 0 1
3.1 2.8 0.75 0 0 1
3.1 2.7 0.75 0 0 1
3.0 ... (10 Replies)
Anyone help me i cant found the error of floating point
if needed, i added the code complete
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
typedef struct
{
int hh;
int mm;
int ss;
char nom;
int punt;
}cancion;
typedef struct... (9 Replies)
Hello,
I have often found bash to be difficult when it comes to floating point numbers. I have data with rows of tab delimited floating point numbers. I need to find the smallest number in each row that is not 0.0. Numbers can be negative and they do not come in any particular order for a given... (9 Replies)
Discussion started by: LMHmedchem
9 Replies
LEARN ABOUT PHP
sybase_fetch_row
SYBASE_FETCH_ROW(3)SYBASE_FETCH_ROW(3)sybase_fetch_row - Get a result row as an enumerated arraySYNOPSIS
array sybase_fetch_row (resource $result)
DESCRIPTION sybase_fetch_row(3) fetches one row of data from the result associated with the specified result identifier.
Subsequent call to sybase_fetch_row(3) would return the next row in the result set, or FALSE if there are no more rows.
PARAMETERS
o $result
-
RETURN VALUES
Returns an array that corresponds to the fetched row, or FALSE if there are no more rows. Each result column is stored in an array offset,
starting at offset 0.
Data types
+-------+---------------------------------------------------+
| PHP | |
| | |
| | Sybase |
| | |
+-------+---------------------------------------------------+
|string | |
| | |
| | VARCHAR, TEXT, CHAR, IMAGE, BINARY, VARBINARY, |
| | DATETIME |
| | |
| int | |
| | |
| | NUMERIC (w/o precision), DECIMAL (w/o precision), |
| | INT, BIT, TINYINT, SMALLINT |
| | |
|float | |
| | |
| | NUMERIC (w/ precision), DECIMAL (w/ precision), |
| | REAL, FLOAT, MONEY |
| | |
| | |
| NULL | |
| | |
| | NULL |
| | |
+-------+---------------------------------------------------+
SEE ALSO sybase_fetch_array(3), sybase_fetch_assoc(3), sybase_fetch_object(3), sybase_data_seek(3), sybase_result(3).
PHP Documentation Group SYBASE_FETCH_ROW(3)