## Convertion from Exponential to Decimal

Convertion from Exponential to Decimal
# 1
08-16-2011
Convertion from Exponential to Decimal

I am trying to read values from excel and perform some calculations but I am getting below error:

Can anyone let me know how do i convert thse exponential numbers to decimal.
 sachinnayyar View Public Profile for sachinnayyar Find all posts by sachinnayyar
# 2
08-16-2011
echo "2.326227180240883E7 / 8.509366417956961E8" |awk -F "/" '{print \$1 / \$2 }'
0.0273373
This User Gave Thanks to shipra_31 For This Post:
 shipra_31 View Public Profile for shipra_31 Find all posts by shipra_31
# 3
08-16-2011
---
Ok. "bc" doesn't understand scientific notation. It's for numbers with arbitrary precision.

Last edited by yazu; 08-16-2011 at 10:18 AM.. Reason: Ok
 yazu View Public Profile for yazu Find all posts by yazu

## Urgent help needed.. C++ program to convert decimal to hexa decimal

Hi , seq can be 0...128 int windex = seq / 8; int bindex = seq % 8; unsigned char bitvalue = '\x01' << (7-bindex) ; bpv.bitmapvalue = bitvalue; This is the part of a program to convert decimal to bitmap value of hexadecimal. I want this to change to convert only to...

## Decimal to BCD (Binary Coded Decimal)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Design an algorithm that accepts an input a decimal number and converts it into BCD (Binary...

## Decimal to BCD (Binary Coded Decimal)

Anybody please help me... Design an algorithm that accepts an input a decimal number and converts it into BCD (Binary Coded Decimal) representation. Also, draw its Flow Chart. This is a unix qn... plz post algorithm for that :confused:

## Convert exponential value to decimal

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...

## convertion of a file

Hi I am having file like this 1 560017039 575052020 22-11-2003 8,290.00 709545 100239050 11 2 560017006 575052020 13-01-2008 20,000.00 709545 100246770 11 i want to convert it like 5600170395750520202211200300000008290000000000000709545010023905011...

## Hex to Decimal Convertion

Dear all, I have a file like this. EE48 4473 7FC9 EE48 102C D23 EE48 4DD 27D EE48 0 0 EE48 3FFE 854 F230 DC6 ...

## Character Convertion Help Needed

Could someone please tell me how to convert double byte charaters to single byte characters in HP-UX 11.11 without installing any applications? e.g. I have a double byte string below and I want to convert it to a single byte string ABCdef123 ＡＢＣｄｅｆ１２３ I tried using the iconv command but I...

## convertion

How to convert a .doc document to .pdf

## ASCII to char convertion

I am writing the script to encrypt and decrypt content of the text file. How can I convert ASCII to characters and backward? I need it for Bourne shell script. Thanks::confused: