How to stop auto delete of "0"

Hi,
I am pulling in values from an xml and displaying them in a text field.
The issue I am having is that if the value ends with a 0 Flex is automatically dropping it.
So if I have this element in the xml;
<myXMLvalue>5.30</myXMLvalue>
It displays as "5.3".
I tried declaring it as a string like this;
myTextField.text = String(myXMLvalue);
and as
myTextField.text = myXMLvalue.toString();
but it still automatically removes the 0 at the end.
Anybody know how to disable this functionality?
Thanks.

XML node values are all string. Therefore if you do this you will get "5.30" in the TextField:
var xml:XML = <root><myXMLvalue>5.30</myXMLvalue></root>;
var textfield:TextField = new TextField();
textfield.text = xml.myXMLvalue;
addChild(textfield);
May be you're using a component or custom class that configured to parse a string to a float and display the result?

Similar Messages

  • TS1424 I had purchased a VIP subscription in starmakerstudios karaoke for a week. I don't know how to stop auto renewal. Even though I have deleted the app I am still being charged

    Hey people please help me with my problem.
    I purchased a VIP subscription for a week in starmakerstudios karaoke. I don't know how to stop auto renewal. Even though I have deleted the app, I'm still being charged $1.99 a week!
    Please help me out...

    Hi Gerald,
    Well, you're not alone. The question is why is this happening? Since the referenced link shows the same type of problem with Yahoo finance, I suspect there is a coding problem on the site, specific to how Firefox is reading the code. Not being a programmer, I can't offer specific advice other than contacting either Firefox through their Community forum, or Yahoo Finance.

  • How can I stop auto deletion of messages from my inbox?

    How can I stop auto deletion of messages from my inbox?
    I've tried to fix this by changing the IMAP account's Junk settings so that they are moved either to the
    "Junk" folder on 'account name'
    or
    Other: (drop down list for choosing accounts and one of its folders) Junk on 'account name'
    I am sure I lost all of my important, not junk mail, amazon.com messages as well as other messages from comercial sites.
    Secondly: Please tell me what the difference is between the 2 junk folder choices above.
    Thank you,
    - Jim

    http://kb.mozillazine.org/Disappearing_mail
    I don't understand "Junk on 'account name'". Can you provide a screenshot?
    http://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem

  • How to set auto delete option for old messages

    Hi All,
    Can any one help me on how to set auto delete option for mails older than 15 days from my Z10.
    James Kurian

    There is no such option in BB 10.
    However, you can achieve a similar result by setting your email sync timeframe to 14 days (the closest option).
    If you are using an ActiveSync account (such as Hotmail, Outlook.com), go to Settings > Accounts > select the account. Tap advanced at the bottom of the screen. Scroll to the very bottom, tap Sync Timeframe and set to 14 days.
    If you are using an IMAP account (such as Gmail or GMX), you will have to delete, then re-add your account.  The Sync Time frame is only avaialble during setup for these accounts.  When adding, tap advanced at the bottom of the screen and set the Sync Timeframe.
    Hope this helps.

  • How to stop iphone deleting contacts

    How to stop iphone deleting contacts ?

    Are you syncing contacts from different devices? Are you using iCloud to do so?
    Did you already try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again? You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, and to rule out a software issue, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • How to Stop Auto assignment of Source of Supply in SC

    Hi All;
    We are using SRM7 classic scenario.
    While creating  a SC, the system automatically assigns a vendor in the source of supply if there is 1 contract or 1 inforecord.If there are multiple, the system will not assign but it will show them all so that the user will select one of them.
    Our requirement: we need to stop auto assignmnt of source of supply in SC.
    Thanks

    Hi,
    There is a source determine driver and FM in SRM. You shall find it in the forum.
    Here you can change the behaviour and deassign the contract that is automatically assigned
    Rgds
    Venkat

  • How to stop auto approval  of requests by xelsysadm ?

    Hello OIM-SOA experts, when I submit role request using xelsysadm user, the operational level request is auto approved eventhough I have custom approval in place. But requests submitted by others will go for approval process. How to avoid auto approval of xelsysadm requests for opearational level ? Is it possible to configure this ?
    appreciate your suggestion
    Thanks

    How did you create Approval Policy ?
    Did you create Request Level and Operation Level Policies ?
    Did you select proper Request Type ?
    Did you create proper rule which satisfy your expected results ?

  • HOW TO STOP AUTO EMAIL DELETE ON MAC WHEN DELETING MESSAGES ON IPHONE4S

    I just upgraded to 4s and use Mobile Me.  When I delete an email on my phone, it automatically deletes on my mac book pro.  didn't have this happen with 3s phone.  how to correct?
    Thanks.

    Hi,
    go to:
    1) Main Menu
    2) Alerts (i guess it is called like this in english OS)
    3) Select the Profile you like to edit
    4) select App Alerts
    5) Scroll down to Preview (not sure if it is called like this in English menu)
    6) switch the peview off
    If you like to you can set this as default for other profiles or you adjust it individually in the profiles
    Alex
    Please feel free to hit "Like" if my post was helpful :-) Thank You!

  • PS migration: How to stop auto-creation of PR for completed activities?

    We are migrating project master & transactional data from R/3 4.7 to ECC5. In the old system, majority of the ext. activities in our projects already carries the status REL. Purchase Requisition was auto-created > PO done > GR/IR done > actual cost for the ext. activity already posted into the project.
    In our migration effort, we are transferring the whole project structure & master data from the old 4.7 to ECC5 and subsequently updating the system & user statuses of the whole project structure.
    How can we stop the system from auto-creating a PR again when the statuses are updated for those activities that are already completed, i.e. actual cost posted, as in 4.7 system?
    We thought of using the logic if a PO exist for the activity in the 'old' system, then the field AFVGD-AUDISP (Res/Pur.req) for the activity in CJ20N should be set to 'Never'. However, my ABAPer was saying this could not be done as AFVGD is a structure and not a table.
    Have any one of you face similar predicament? Is there other method to address this issue? Appreciate your assistance.
    Edited by: Quah Ai Ling on Jun 10, 2008 5:36 AM

    Hi Varshal,
    Thanks for the suggestion.
    However, we thought of an alternate method that does involve changing the customers existing business process.
    1) Change the field AUDISP in the network profile to 1 "Never" for the conversion.
    2) Migrate the data. Program will create Networks, Activities & Components with the field AUDISP set to "Never create Reservation or Purchase Requisition".
    3) Change the field in AUDISP in the network profile back to "2 From Release".
    We will have to get the users to clean-up their data (close outstanding PRs or convert those PRs to POs) before this exercise for a clean cut-over.

  • How to stop auto comnnecting to share as AppleID (permissions)

    OK chaps and chapesses, I've had a search but the question I want to ask usually gets asked in reverse (how to connect as Apple ID).
    This is the scenario.
    1) I have 2 macs - a 2009 Mac Pro desktop and a 2011 MacBook Pro.
    2) They are (at the moment) exact clones of one another, both running ML (10.8.5)
    3) Both the MP and the MBP have an "admin" user (for admin only) and my main account for working (standard user).
    4) The Macs are connected to my home network via AFP shares using static IP addresses, (let's say afp://192.168.1.20 and 21)
    5) Both computers have different network share names (eg MyMBP and MyBigMac)
    I am trying to network them so that I can connect to either Mac from the other one to copy files across from one standard user's account, to maintain sync.
    Before anyone suggests iCloud, I cannot use this for my data storage as much of my data is subject to non-disclosure agreements and my clients' IT policies, which forbid cloud storage.
    Anyway, I've got no problem getting the Macs to see each other on the network – the problem is, every time I connect, it immediately connects under my Apple ID. This means the sharepoint (my home folder) mounts without giving me the option to "Connect as… Registered user" which is what I need to do. If I am connected as my Apple ID, I do not get the necessary permissions to move stuff around in the home folder of the other Mac. I know I need to log in as the standard user in both Macs and connect as such. The problem is stopping it auto-connecting as Apple ID.
    This problem happens whether I browse the network, or whether I Go>Connect to server.

    This might also help: connect with cifs://
    FROM:
    http://osxdaily.com/2013/10/30/connect-smb-nas-network-shares-os-x-mavericks/
    Connect to SMB & NAS Network Shares in OS X Mavericks
    Oct 30, 2013 
    ... a very easy workaround to connect to SMB and NAS shares from OS X:
    From the OS X Finder, hit Command+K to summon “Go To Server” as usual.
    In the “Server Address” field, use the cifs:// prefix as follows:
    cifs://127.0.0.1
    Connect to the SMB, NAS, or Windows share as usual.
    ... it’s because using CIFS connects with SMB1 rather than the (currently) buggy implementation of SMB2. ... Apple adjusted the default protocol for SMB (Samba, the Windows file sharing ability) from SMB1 to SMB2, and the SMB2 implementation apparently carries a bug which is incompatible with ...

  • How to stop auto generation of ids for h:dataTable

    I am using <h:dataTable> tag to display more than one error messages.
    My code goes like this
    <h:dataTable id="messagetb" value="#{searchZug.searchZugParam.allMessages}" var="message">
    <h:column>
    <h:outputText style="color:red;" value="#{message}" />
    </h:column>
    </h:dataTable>
    When i run my application, console is displaying a message like
    'WARNING: Component _id79 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation!'
    I checked in the generated html source. It is generating id for tbody as 'messagetb:tbody_element', this is causing the problem.
    How can i stop this auto generation of ids? if not possible, then how can i explicitly specify the id for tbody?
    Thanks,
    Murthy

    Narasimha.Murthy.d wrote:
    I am using JSF version 1.3There exist no "JSF 1.3". When talking about "JSF" without mentioning the implementation name, we assume it as JSF specification. The JSF specification is only been available as 1.0, 1.1, 1.2 and 2.0. As said before, we´re more interested in the JSF implementation name. Is it Apache MyFaces? Is it Sun RI or Sun Mojarra? And then please tell the version from that.

  • How to stop auto rotate of shapes in Illustrator CS4?

    When I create a shape, like a rectangle, it starts out slightly rotated or skewed. When I take another shape, like a half circle, and reflect it, it rotates at a slight angle. This happens every time I start a new file. I don't see rotation in the appearance panel. When I look at the transform panel it lists rotation at zero. Yet all of my shapes tilt down and to the right.
    How can I stop my shapes from auto rotating?
    Thank you,
    Nina

    Check if the constrain angle is set to 0
    -> Preferences

  • Can some1 tell me how 2 stop auto flash fr.adobe plz

    any help from any of u will b greatly appreciated as I need 2 know where 2 go on IE 2 stop anymore automatic downloads & trust me I'm desperate as I'm disabled & need my comp.& w/flash v.12 has screw up chrome 4 sure but  know how 2 disable flash on it but need 2 stop any automatic downloads fr.adobe in IE so any help so appreciated..many blessings..Loretta

    The Skyfire browser is the best solution I have found, so far. It's a browser that converts the videos on the fly. It doesn't work for other types of flash (games, ads, etc) but it does a good job with videos.
    http://itunes.apple.com/us/app/skyfire-web-browser-for-ipad/id409153623?mt=8
    I see your location is UK, I'm not sure if the app is available in the UK.

  • How to stop auto-mount of server?

    I am trying to troubleshoot an issue on a client's iMac that I am providing tech support for. It was originally configured by another IT person who is now unable to be contacted.
    The iMac seems to have some sort of auto-mount in operation that periodically connects to a shared folder hosted on another iMac on the network, but with the incorrect permissions. If I eject the server, it reappears soon afterwards on the Desktop. It looks like this:
    Double-clicking the icon brings up a message that the Shared files can't be accessed because of insufficient permissions.
    I have looked in the Login Items, Startup Items, LaunchAgents and LaunchDaemons but can't find any evidence of any script or plist that might be causing this auto-mount behaviour.
    Can anyone shed any light on this?
    Cheers,
    Greg

    Great idea! However, I actually need access to a Shared folder on that Mac (with correct permissions). You'll see from my screenshot above that the same folder appears twice, once with the proper shared volume icon (with full access and correct permissions), and once with the 'folder with red bar' icon without any access (and incorrect permissions).
    I might try deleting all keychain entries relevant to that shared folder and see if that helps.
    If anyone else has any ideas, they would be gratefully received.

  • How to STOP auto-resize in Keynote 6.1

    I cannot find a way to stop the automatic "shrink to fit" of text in text boxes in keynote.
    Does anyone know how and where this is controlled?
    Any help would be appreciated!
    Dee

    Use custom text boxes, click the T button on the tool bar.
    The Master slide text bounding boxes are designed to remain the same size, but as more text is added the text size is reduced to compensate.

Maybe you are looking for

  • XSLT mapping - Which transformation engine is used in PI 7.0

    Hi, In my favorite xslt tool I can choose which transformation engine I want to use while executing the xsl. Which Transformation engine is used in PI 7.0 ? (Nice to test with the same as PI have....) Br, Martin

  • How do I change the phone number in the iPad?

    How can change the phone number in my iPad?

  • OS X keeps crashing/kernel panics

    In the last week I have noticed a sudden increase (from like 'never' to daily/every other day) in kernel panics/OS X crashes. The only things I have done in that time frame has been updating iTunes and Safari. I'm usually using one or the other when

  • Service restricted

    I have a problem with "vista previa" (the mac os x image viewer). I cannot use the "search with Google" service regulary, a message appears and ask me if i'm sure to use the restricted service. How can I unrestrict this service?

  • Google Earth/Basecamp  .kmz file association

    The default application for .kmz files is currently basecamp.I want to change this to Google Earth. When I go to 'open with' I can open with Google Earth OK. However when I go to 'Get info' ,'open with' and 'change all' it reverts to Basecamp. Any su