Converting Exponential to number
I have a value 1.23365465451346E21 in my database column.i want to convert it into number as display as 1233654654513456546546.What would be the sql query for that.please help.
In SQL*Plus:
SQL> set numwidth 40
SQL> with t as (
select 1.23365465451346E21 n from dual
select * from t
N
1233654654513460000000
1 row selected.
Similar Messages
-
Convert exponential to whole number
Hi all,
I have a small question.
How to convert exponential value into whole number
ThanksFm QSS0_FLTP_TO_CHAR_CONVERSION
or
data:lv_whole_no type i.
lv_whole_no = lv_exp_no.
write lv_whole_no. -
Convert Exponential value to Float
Hi all,
I need to convert Exponential value to a numeric value as shown in the following example.
My input is
INPUT = 9.9999999E7
The output should be
OUTPUT = 99999999
Is there any Function module?
Can anyone help me out in this?hi,
Check this link..exponential to number conversion -
Is there a way to convert skype online number cont...
That was the general question, and here are my details:
I have had a skype number for many years and it was great, around $5.5 a month to call all phones in North America from my laptop from any place in the world with internet. With time, I had a ccumulated a relatively large number of contacts (name of person or party & their phone number(s)). Now I decided that I finally need a regular "smart" cellphone with an AT &T 10c/minute and no data (that's the only way that I understand is not a rip-off, I'm counting on my really unlimited mobile hotspot to get wifi). Now, the company will have me purchase minutes every 30 days which doesn't look very bad considering that I don't have my wifi all the time.
The problem I'm having is, how to transfer or convert the name/number list on skype to name/number list on my phone? so I can call the same numbers I used to call on slype with my AT&T minutes?
Typing the numbers one-by-one to my phone may take days!! so, I figured out that there must be away to do it automatically, rather than manually.
Any help is very appreciatedIs there any answer skype people?????
please! -
Converting a hex number to binary
How do you convert a hexadecimal number to the actual 1's and 0's of binary? I am using labview 6i. Also I will eventually need the binary to be a string. Thanks.
Converting for numeric display is quite simple. All you do is on the control/indicator, show the radix, and set it to the desired setting.
Setting up to display the binary in text is a bit more tricky. You need to insert a "Format Value" function in and wire "%b" to the format string. This will cause the output to change to binary.
Good luck -
Convert time to number and number to time
I'm using SAP 4.0b
I'm looking for function that converts time to number and number to time.
Any suggestion?Hi,
Can you give an example of what number you want to give to get what time and vice-versa?
There can be a direct conversion between an integer and a time variable in ABAP.
For example -
data: number type i,
time type syuzeit.
number = 3600.
move number to time.
write time.
The time will be output as "01:00:00". That is because 3600 seconds make up one hour.
Regards,
Anand Mandalika. -
How to convert exponent to number format
Hi,
how to convert exponent to number format.My column is in number and the data is in exponent format .for example data is 2.44705130197009E18 .when i do field name haveing this data like
select * from table name where filed name =2.44705130197009E18 ,field name is of number (20) data type .but i am not getting any data fectched .
your advice is at most appriciated .
Regards,
SujaExample of what I was saying...
SQL> create table myexp (name number);
Table created.
SQL> insert into myexp values (2447051301970090001);
1 row created.
SQL> select name from myexp;
NAME
2.4471E+18
SQL> col name format 9999999999999999999999999999999999999
SQL> select name from myexp;
NAME
2447051301970090001
SQL>
The number you are seeing as an exponent is not just the number that is stored with lots of 0's on it, there's other information you are missing, so you need to change your format to see the true value. -
To convert Old material Number (BISMT) to new material number
HI Folks,
I have the requirement is how to convert OLD material number to New material number. Is thier any Global exists is thier? Please let me know.
Thanks,
VijayHi,
use MGA00001 in changing parameters u can change...
Regards -
Converting Exponential to Character format
Hi all,
We r facing problem with convertion the break down tome duration.
In the cube, the break down time keyfigure values shows the exponential rather than figure, but in keyfigure maintainance we given data type as a FLOAT even we r facing same... plz help me out how to convert exponential to character
Thanks in adv
pinky reddyhi pinky,
Why can't u write a tansformation rule (abap routine) for that field in the start routine in transformation by looping the source package.
Rgrds,
Kumar. -
Converting a binary number to a list of integers
I need to convert a binary number to a list of the values of the bit possitions that make up that number. I.e. 1 = 1; 3=2,1; 7=1,2,4.
Does anyone know of Java API functions that could accomplish this, I couldn't find any, or a function that can do this?This reminds me of my programming homework assignments...
There are some very efficient ways to do this - but I can't remember them off the top of my head. I can guarantee they will have been posted several hundred times before. This will work:
class BitMask {
private byte mask = 1;
public void printBitFields(int a) {
System.out.print(a + " =");
for(i = 0 ; (a & Integer.MAX_VALUE) != 0 ; i++) {
if((a & mask) == 1)
System.out.print(" " + ((int) java.lang.Math.pow(2,i)));
a >>= 1;
System.out.println();
public final static void main(String args[]) {
BitMask bm = new BitMask();
bm.print(1);
bm.print(18);
bm.print(19); // etc...
} -
Hello everyone!
I am having trouble in converting the variable.
My original variable is as VARCHAR2. It has database value of
100-1050-10101-001. How do I convert this into NUMBER data type?
Thanks,
SonyaSQL> create table test(col1 varchar2(20),col2 number);
Table created.
SQL> insert into test values('100-1050-10101-001',null);
1 row created.
SQL> commit;
Commit complete.
SQL> select * from test;
COL1 COL2
100-1050-10101-001
SQL> insert into test select null,replace(col1,'-','') from test;
1 row created.
SQL> commit;
Commit complete.
SQL> select * from test;
COL1 COL2
100-1050-10101-001
100105010101001 -
Is there any FM convert char to number ?
Hi guys,
Is there any FM convert char to number ?
what are they? and how can I find them ?
thx in advance.Hi
data: wl_char(3) type c value '123',
wl_num type n .
CALL FUNCTION 'MOVE_CHAR_TO_NUM'
EXPORTING
CHR = wl_char
IMPORTING
NUM = wl_num
EXCEPTIONS
CONVT_NO_NUMBER = 1
CONVT_OVERFLOW = 2
OTHERS = 3. -
Decimal of SQL Server getting converted to Whole number in ORACLE
Hi All,
I am using ORACLESQL Developer tool to migrate database from SQL Server to ORACLE. The decimal datatype in Sql Server is not getting converted to its equivalent in ORACLE. Do anyone face the same problem? Its getting converted to WHOLE number.
Also I am able to import data only from Excel sheet. Is therre any other option to import data using this tool?
Also is the tool the best to use for migration? Please give me your suggestions pls since I am facing this conversion problem after import lakhs of data.
I am using version 1.1.3
Thanks in Advance,
Srinivasan.TI have upgraded to the version mentioned by you. Even now it is not getting upgraded. I am exporting data using Excel sheet only. Is it possible for you to explain how to migrate data thru SQL * PLUS?
Thanks,
Srinivasan.T -
How to convert exponential data into number for the downloaded excelsheet
Hi
I have downloaded one field data i.e. having char of 50, into excel sheet and it is displaying as exponential in the excel sheet.
The data numbers should display as text only i.e 1236547896321 and not exponential
Is anyone can tell how we can do this
Thanks
PallaviHello Pallvai,
The problem of exponential is with the excel. Excel converts the large numbet into exponential.
To avoid this you can make the number into text then excel won't convert it into exponential.
For that you can do a simple trick. Just prefix a single quote ( ' ) in the field.
eg:
field = 1236547896321.
then,
constants c_quote type c value '''. "<-- single quote
concatenate c_quote field into field.
" This will make the EXCEL to consider this field as text not number and hence it will not be considered
" as exponential.
Hope this solves your problem.
Regards,
Sachinkumar Mehta -
Expression Builder: convert string to number
Hi all,
I'm having trouble building a field validation rule for bank account numbers.
The numbers have 12 positions, so I cannot use a string or text number.
The validation rule to be implemented is that the last two digits are calculated based on the first 10 (modulo 97).
However, when I use the Mid function to pick the first characters, I am unable to do any calculations on it. Apparently, the string to number conversion doesn't work (it should work when I read the manual, as it says that when using an operator between two data types, the second type is converted to the first (cf. example of 1234+abcd (should result in 1234 as to the manual))). So I tried '1*Mid(...)' or '0+Mid(...)'. Syntactically the expression builder accepts it and I can save it. BUT when I change the particular value on the screen, it gives me an SSO error (not the Field Validation error message I entered).
Why isn't there simply a function ToNumber (like ToChar)????? How could I workaround this?
Any input very welcome!
FrederikApparently, I was a bit confused when typing the first sentence, it should be:
The numbers have 12 positions, so I cannot use an integer or number data type, but have to use String.
Maybe you are looking for
-
No zero balance for GR/IR account between Document curr and Group curr
Dear Experts, I have problem about balance in GR/IR account while posting GR and MIRO between Document currency and Group currency , there are no zero balance . Pls see step by step below: 1. Company Code ABC have Company code currency = T
-
Manually deleted a java application - now getting errors
Hello I mistakenly started deleting an application manually instead of going through Enterprise Manager, now I'm getting error messages whenever I try to manage any of my oc4j instances and deploying ear files. We are running Oracle 10g Application S
-
I want to fix a Genius Mix as a Playlist. How do I see track names behind a Genius Mix icon?
-
Wanted to know what actions are taken on the database
Dear Sir I wanted to find out what actions are performed explicitly on the database.For example I apply a patch on the database of create object,drop object,insert object,update object ...etc.Does Oracle Maintain any logs for such object.?.... .I wan
-
im "trying" to use IMAQ SNAP. i know this is a real novice question, but what should the input be for the IMAGE IN terminal? is it a reference for a file, say BMP? im really not sure many thanks