To Remove decimal digit in number field

Hi experts
any one can tell me the function in Crystal Report for removing decimal digits in a number type field. like field value is 34.00 should be 34.
Regards
Gorge

Hi,
use "round(value,dec places)" formula that is there in  functions in crystal report.
Rgds,
Premraj

Similar Messages

  • Remove specific digit from number

    I need to change a 13-digit number to a 12-digit number by removing a specific digit. For example:
    1012200912003
    I need to remove the 3rd digit from the right, so that the number would be:
    101220091203
    How can I do that in SQL?
    Thanks in advance!
    John

    To do that you need to convert the number into string first.
    with t
    as
    select to_char(1012200912003) x from dual
    select to_number(substr(x,1,length(x)-3)||substr(x,-3+1) ) num
      from tHere you can change the value 3 to mach any position in the number
    Edited by: Karthick_Arp on Aug 27, 2009 12:11 AM

  • Number field does not display trailing zero after decimal

    Hi,
    I have a Text Item of type number with size set to 6.
    if the database value = 19.10, the
    number field displays 19.1
    I want to display the complete 19.10 in the field.
    How do I do it?

    SET FORMAT MASK property of text item to 990D00.
    If the value is just "10" ie without decimal, displayed will be "10.00".

  • The leading zeros are removing from Number field

    Hi,
    How can i keep the leading Zeros in the number field. For eg, when validating the field, 00123 becomes 123, how to prevent it,
    Thanks in advance

    Hi
    I tried with LPAD(:numberfield,5,'0') in the validate field, but it is not working, I am getting the error , it is not a procedure....., I working with Forms 10g
    Thanks in advance

  • Removing the decimal places of currency field

    Hi Gurus,
    I have a currency type field ( to be more specific a field like BSEG-WRBTR) .
    How do i eliminate the decimal places for this field.
    ie if the value is 345678.91, i need to make it 345678.
    Is there a standard keyword or something for this?
    Points will be given to all the helpful answers.
    Thanks,
    Nobin.

    You can use the FLOOR function to get the largest integer value without decimal.
    Like:
    DATA: W_RESULT TYPE I.
    W_RESULT = FLOOR( P_AMT ).
    Regards,
    Naimesh Patel

  • Number Field - Decimal Sign

    Hi,
    i have a number field. When the user inserts a value for example 5,2 it should be automatically converted to 5.2 and inserted in the database. Instead it's inserted as 52.0
    When the user inserts 52,2 into the field, the error 'MTTRi [months] does not match number format 90D0 (Example: 3.5).' is shown. Why is this error not shown when the user is inserting the value 5,2?
    The format mask is 90D0.
    Has anybody an idea how to achieve this?
    Best Regards,
    Martin

    Hi Martin,
    the TO_NUMBER format mask conversion tries to fix user errors. If you want to have a more restrict format mask handling, try to use the FX prefix.
    From the online doc at http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements004.htm#i170559
    FX Format exact. This modifier specifies exact matching for the character argument and datetime format model of a TO_DATE function:
    -) Punctuation and quoted text in the character argument must exactly match (except for case) the corresponding parts of the format model.
    -) The character argument cannot have extra blanks. Without FX, Oracle ignores extra blanks.
    -) Numeric data in the character argument must have the same number of digits as the corresponding element in the format model. Without FX, numbers in the character argument can omit leading zeroes.
    When FX is enabled, you can disable this check for leading zeroes by using the FM modifier as well.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Web Forms Number Field - Not processing decimals!

    We have created a monster web form on a clients site. As it is, we have had to setup an API to deal with the data after its been generated by BC and modify it before sending it on to the client. The client saw no reason for fields that did not have anything entered against them to be sent through in the workflow notification - and I agreed. 
    Now after all these other problems have been resolved, I discover that all my  "number" fields cannot process a decimal place, and they round up or down. BC have suggested I need to recreate the form and just make them all 'text strings'.
    Not good enough. Its an EPIC form with over 100 fields in it. We, in good faith, read the instructions that can be found here: http://kb.worldsecuresystems.com/478/bc_478.html?bc-partner
    that state "Number - a text box that must have a number entered into it". No note about NOT using decimals!
    The confusing thing is, it lets you enter the decimal from the front end, even displays the web form confirmation page correctly with decimals. But when it creates a case in BC, it rounds the numbers. So its only at this late testing stage that we have discovered the issue
    Does anyone have any ideas about faster ways of re-creating this entire form ?
    I did submit a support ticket, and was told to switch to the old UI and then just change the type of the fields. But when we try to change a form field from 'number' to 'string' it brings up the message "WARNING: Field updated successfully but type not changed as field has associated values.". Then they said to:
    Copy that specific webform change the type fields of the form and then remove the old webform and re-name this one copy with the first webform name. The copy option is available under the link I have provided to you.
    However this still means we need to change *all* the fields and then get every field' s ID and insert it into the javascript. Very very time consuming
    So A) everyone else be warned and B) Does anyone have a shortcut?
    Thanks!!

    Thanks for confirming my fears
    Its a shame that since its such a long standing thing, it hasnt actually been added to the knowledgebase... which when we started this project (long before this schmozzle of a new system was introduced) was the most relevant place to look.  When I start something, I tend to look in the KB.... not think "oh perhaps I should check the FAQ's in case there is a long standing issue that isnt contained in the KB".

  • How to prevent users from entering '+' or '0' in front of country code in the phone number field?

    Requirement:
    How can I prevent guest users from entering '+' sign or '0' in front of country-code in the visitor phone number field during self registration?
    Few SMS service providers are not looking for '+' sign or '0' or '00' in front of the international phone numbers to trigger the sms. Providing these values in front of country code during self-registration may fail to deliver the sms to recipient.
    Solution:
    Using a simple regular expression, you can validate the entered phone number during the guest registration. 
    The below regular expression will help you to validate the phone number and allows to register only  when the phone number is not staring with '+' or '0'. 
    ^[1-9][0-9](\d{7}|\d{8}|\d{9}|\d{10}|\d{11}|\d{12})$
    It also performs the below validations.
    only numbers are allowed.
    first digit of the entered phone number should be 1 to 9, so '+' or '0' is not allowed. 
    numbers from 0 to 9 are allowed from the second digit.
    also validates phone number length, the length of the phone number should be 9 to 14.
    Configuration:
    To add the above regex in the visitor_phone number filed, please navigate to ClearPass Guest >> Configuration >> (Pages)Guest Self-Registration >> select the self-registration page and go to Edit >> Register Page >> Form >>  select the filed visitor_phone and set the Validator to " ISRegexMatch" and enter the above regex in the Validator Argument filed as shown below.
    Note:  Edit the Validation Error as per your requirement.
    Verification
    Adding the given regex will validate the phone number and prevent the guest user from registering the phone number starts with '+' or '0'.
    Please find below the sample outputs for your reference.
    Result when phone number starts with '+' or '0'.
    Successful registration.

    Is this a Mac Preview issue?

  • Decimal Places in qty fields

    Hi Experts,
    I'd like to know is it possible to set 4 decimal places in Qty fields, when I make GI for Sales Order.
    Regards

    Hi,
    Go to SPRO>SAP Netweaver >General Settings> Check Units of Measurement, then click on "Units of Measure" (T.Code: CUNI) and Select your Unit of Measurement  and go to details put number 4 "Decimal Places" field (you can put 0 to 14 decimal places.
    Regards.
    Chinna

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • I have changed bank details and do not have 3 digit security number. When trying to update bank details my security ? answers are not recognised.

    I have changed my bank details and no longer have my 3 digit security number. I have tried to change my bank details but my security question answers are not recognised. What should I do?

    All credit cards have a security number, on the back of the card. If you don't have your card, then you will not be able to enter in that credit card. This is a standard security precaution to keep someone who gets hold of your card number but not the card itself from being able to make charges to your account. You will need to contact your bank and get a replacement card.
    As to your security questions, go to:
    https://appleid.apple.com/
    Click "Manage My Account", sign in, and go to the Password and Security section. Answer the security questions and you'll be taken to a screen where you can then change them. If you've forgotten your answers, there should be a link just under the security questions fields where you can have a reset email sent to your Rescue email address. If the link for the email doesn't appear, as can happen if you didn't set a rescue email address or (apparently) have a .Mac email address, see the user tip created by Kappy, another user here, on how to proceed:
    https://discussions.apple.com/docs/DOC-4551
    Regards.

  • Search string for 3 digit check number?

    For electronic bank statement,uploading file contains 3-digit check number eg;416
    but in FCHI-Check lots we defined six-digit check numbers.
    so system is not able match the check nos. as they are different, and auto reco is not happening.
    we have gone through search strings documentation but
    we dont know what to enter in search strings configuration.
    Kindly help me what to enter for 3 digit check no?
    Edited by: KUMAR on Dec 2, 2008 1:35 PM

    You'll first need to create search strings to "find" the check numbers in the note to payee information.  Then when you set up the search string use, you'll assign a mapping prefix of "000000" to format the check numbers with the leading zeros so they are 6-digits long.
    To set up the search string, you'll need to look at the note to payee information at the text either before or after the check numbers.  Let's say, for example, that the word "CHECK" always preceeds the check numbers in the note to payee:
    CHECK 456
    or
    CHECK 1234
    Because you have some check numbers coming through the bank statement as 3 digits and some as 4 digits, I'm thinking you'll need to set up two search strings, one with search string value "CHECK ###" and the following mapping:
    C ->
    H ->
    E ->
    C ->
    K ->
       ->
    -> #
    -> #
    -> #
    And the second with search string "CHECK ####" and the following mapping:
    C ->
    H ->
    E ->
    C ->
    K ->
       ->
    -> #
    -> #
    -> #
    -> #
    In the search string use, you assign each search string to the relevant company code, house bank and account ID. You can also leave these fields blank, in which case the search strings will be relevant for all company codes, house banks and accounts IDs.  You'll also need to populate the interpretation algorithm with the same algorithm that you assigned in the Global EBS config for the external transaction for checks.  The target field should be Check-/DME Reference-/Assignment number.  Fill in the mapping prefix with 000000 - and be sure to check the Active indicator.  If you are on ECC 6.0, you will also have fields for external transaction and +- (these fields may also be available in ECC 5.0 - but I know they are not available in 4.7 or prior).  If you see these fields, you can fill them in to further limit when the search string is used - for example, only for Negative transactions or only for Negative transactions with a particular external transaction value.
    Let me know if you have any other questions.
    Regards,
    Shannon
    Edited by: Shannon Moberg on Dec 3, 2008 6:05 PM

  • Problem with TCODE PK02 with the warehouse number field.

    Hello folks,
    I have created a control cycle in the TCODE PK01. When I tried to change it it is not displaying the warehouse number that I have used while saving. Also here it is showing the warehouse number as a mandatory field.
    I have input the warehouse number in the PK02 TCODE and saved. I am able to see the warehouse number value updated in the table also. But again if I try to enter the PK02 TCODE , it is displaying empty warehouse number and showing as a mandatory field.
    Also in TCODE PK03 tcode , I am not able to see the warehouse number field I have saved.
    Can anyone address on the below issues?:
    1. how to configure the PK02 warehouse number mandatory field settings and
    2. Populating the warehouse number field in the PK02 and PK03.
    Thanks,
    Ramineni.
    << Moderator message - You have a better chance of getting answers to a question if you flag your thread as a question rather than removing the flag. >>
    Edited by: Rob Burbank on Jun 14, 2011 9:57 AM

    Hi,
    I do not see warehouse number field in contorl cycle defination..
    what type of control cycle is this? Classic or event driven?
    Looks like this is a Z screen field..
    check if user exit is impliemented properly.
    Thanks,
    Santosh Sarda

  • Entering a letter in a number field

    Hi there,
    I am using structure binding for many of the contexts in my application to get all the data types automatically. It works ok, but when the data type is decimal, like a currency field, and if the user types in any letter in that field, it is looking at parsing the Decimal and raises a nullpointer exception. You cannot catch the exception on an action because it does not reach to the action code, and the application is terminated before that. I thought that just like in R/3, where the system automatically gives an error if a letter is input in a number field, the error handling should be automatic here as well.
    Does this mean that I cannot have decimal types in webdynpro, referencing corresponding decimal types in R/3 just because it gives up an exception if the user enters wrong data?
    Is the only solution to change all my data types to Strings without referencing any data element?
    Any help would be appreciated,
    Thanks,
    LM

    Hi,
    Please refer to the messages in the thread. Opened OSS message. SAP got back saying that it is resolved in SP17 and have to upgrade. Thats not very handy for me at this stage because there is no plan of upgrade.
    Meanwhile, I noticed that another field, which is currency as well, does not throw up the exception, and SAP also validates the field and asks u to enter the data in the desired format. Which is good. But what I cannot figure out is why this field is working and why a similar field is not working.
    Even stranger, I assigned this field to all the currency fields in my application,which worked fine one day, but this morning I find that it has stopped working!!
    Any idea why
    1) One particular currency field is working, whereas others dont? (The only difference I can see in this currency field is that it is a Z field and not refer to sap std domain).
    2) Why it worked one day and then stopped working when I changed the data type to this field.
    I know these questions are vague, and you maynot have a readymade answer, but just checking..you could have faced a similar issue..
    Many Thanks,
    LM

  • Telephone Number field when adding a new User - CCM 4.2.1

    Is their a way to automatically populate the telephone number field for a user? BAT does not allow this field to be added to the spreadsheet (phones-users). Thanks.

    BAT Version: 5.2.1
    The DN is for the actual line number of the IP phone, not the telephone number field which is stored with the User infromation. These can be independent; for example, I might make a user's actual DN 40001, but want the telephone number in the CallManager Corp Directory to be 5179840001. So, I can place the E.164 number in the Telephone Number field under the User page in CCM. Then, when a user looks up the number using the Directories button on the IP phone, the full E.164 number shows up for that particular user search instead of the 5-digit number which is helpful for offnet dialing and overlapping dial plans among remote sites.
    So, I am looking for a way to automactically populate the Telephone Number field for each user (not the line number of an actual IP phone).
    Thanks.

Maybe you are looking for

  • Error while accessing a public method of applet from javascript.

    Hi, I am getting "Object doesn't support this property or method" error when accessing a public method of applet from javascript in IE 6 using document.applets[0].myMethod(); The same is working in IE 7. Thanks in advance. Regards, Phanikanth

  • New version of Itunes is having problems with crossfading songs, it doesn´t work.  How do I fix that?

    I installed the new version of Itunes (10.5.2.11) and I have a party playlist in wich I need the songs to crossfade for the music to continue playing non-stop.  The problem is that even when the crossfade option is activated, it doesn´t crossfade son

  • Schedule line in sales order

    Hello Friends, While creating sales order, a line item in sales order creates schedule line with delivery date and quantity. How does this happen and what are the criteria to be met to enable this to happen? Thanks

  • Sqlplus takes long time to connect

    Hi All, I am using database 11.2 on Linux x86-64 platform. Using SQLPLUS (bequeath) to connect to the database as a particular user it takes a long time to connect and connecting to the database as any other user is instantaneous. If I use TNS names

  • CRM_ORDER_INITIALIZE Problem?

    Hi Guys, I have following problem: I have to delete the buffer in a BaDI for the CRMD_ORDER transaction after saving my changes. I use following FM's: SET UPDATE TASK LOCAL. CALL FUNCTION 'CRM_ORDER_SAVE'           EXPORTING             it_objects_to