Hi.
Is there a way to convert a value outputted as(for example):
4.14486e+06 into a regular format: 4144860
I suppose in plain english i want to move the decimal point 6 places to the right.
please??? (2 Replies)
Hi,
Here is my script to read a file into array:
awk -F '+' '
# load first file into array indexed by fields 1 and 2
NR == FNR {
file1nr = FNR
for (i=3; i<NF; i++) {
file1 = $i
}
I have this... (5 Replies)
Hi,
I just want to sort my file with exponential notation. For example:
1;2;4;s
1;5e-01;4;s
1;1;4;s
I used sort -gk2, but it does not sort in the correct way. What's wrong? (15 Replies)
I am trying to read values from excel and perform some calculations but I am getting below error:
expr 2.326227180240883E7 / 8.509366417956961E8
expr: non-numeric argument
Can anyone let me know how do i convert thse exponential numbers to decimal. (2 Replies)
Hi
I have a shell scribt with some numbers in exponential format, for example, "1.23456789E +01" Now I would like to bring these numbers into a format without the E. Can someone help me
Thanks
Flo
---------- Post updated at 10:07 AM ---------- Previous update was at 09:14 AM... (1 Reply)
Hello guys,
i have got a flat file and it has got balance amount value as one of its fields. my mission is to add the total of those balance values. i am getting that but the result is coming up in exponential form, which is not the right way. i want to see the sum as a normal decimal number but... (7 Replies)
I'm using the following command, but how can I avoid printing exponential value (highlighted):-
awk ' BEGIN { OFS=FS="|" } { if(NF>4) $10=int(((3.77*$11)/100 + $11)); } { print } ' infile
CR|20121022|105|GSM|N|SAN|00122|SAN|75082|6.03929e+06|5819880|5794769|25111... (7 Replies)
Hi Friends,
My input
Gene1 4.14887050399078e-49
Gene2 5.39999891278828e-10
Gene 2.22108326729483e-11
How do I change the above exponential values to normal values?
Thanks (3 Replies)
we are facing an issue where the sum of column value is getting rounded of before and after decimal.
$ awk -F "|" '{{sum = sum + $11}} END{print sum}' ARINSO_GLD001.txt
6.07398e+07 -- initial value
$ awk -F "|" '{{sum = sum + $11}} END{print sum}' ARINSO_GLD001.txt | awk '{ print... (2 Replies)
Discussion started by: nadeemrafikhan
2 Replies
LEARN ABOUT OPENSOLARIS
thumbnail
thumbnail(1) User Commands thumbnail(1)NAME
thumbnail - create a TIFF file with thumbnail images
SYNOPSIS
thumbnail [options] input.tif output.tif
DESCRIPTION
The thumbnail command shows how to use the SubIFD tag (#330) to store thumbnail images. thumbnail copies a TIFF Class F facsimile file to
the output file and, for each image, an 8-bit grayscale thumbnail sketch. The output file contains the thumbnail image with the associated
full-resolution page linked below with the SubIFD tag.
By default, thumbnail images are 216 pixels wide by 274 pixels high. Pixels are calculated by sampling and filtering the input image with
each pixel value passed through a contrast curve.
OPTIONS
The following options are supported:
-c Specify a contrast curve to apply when generating the thumbnail images. By default, pixel values are passed through a lin-
ear contrast curve that simply maps the pixel value ranges. Alternative curves are as follows:
exp50 50% exponential curve
exp60 60% exponential curve
exp70 70% exponential curve
exp80 80% exponential curve
exp90 90% exponential curve
exp pure exponential curve
linear linear curve
-h Specify the height of thumbnail images in pixels.
-w Specify the width of thumbnail images in pixels.
OPERANDS
The following operands are supported:
input.tif The name of the input TIFF file.
output.tif The name of the output file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWTiff |
+-----------------------------+-----------------------------+
|Interface stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO tiffdump(1), tiffgt(1), tiffinfo(1), libtiff(3)NOTES
There are no options to control the format of the saved thumbnail images.
Updated by Breda McColgan, Sun Microsystems Inc., 2004.
SunOS 5.11 26 Mar 2004 thumbnail(1)