Using textfield content for math

// set variable as numbers
var monthly_num:Number = 0;
var ttl_num:Number = 0;
var ttl_rev_num:Number = 0;
// user-entered numbers from an Input textfields
monthly_num = monthly_txt.text;
ttl_num = ttl_txt.text;
// Multiply two user-entered number together to get new
result
ttl_rev_num = ttl_num*monthly_num;
// Attempts to assign numbers typed into textfields to
numeric variables causes errors.
1067: Implicit coercion of a value of type String to an
unrelated type Number.

you must 'cast' the text string as a number as in:
monthly_num = Number(monthly_txt.text);
ttl_num = Number(ttl_txt.text);
ttl_rev_num = ttl_num*monthly_num;

Similar Messages

  • Using XI Content for SRM 2007

    Hi,
    We are configuring a scenario for SRM which has following landscape
    ECC <=> SAP PI <=> SRM
    I am trying to use XI Content for SRM 7.0 and I have imported SAP SRM 7.0 Software component into ESR. But there are no Process Integration Scenarios which I can use to configure objects in Integration Directory using wizards. Also there are no IDoc imported in this SC and no mappings defined. Does that mean We have to create our own mappings? But this was not true when we used SRM 5.0 content.
    I am not able to find any document which talks how to configure PI scenario using SRM 7.0 XI Content. Do let me know if there is any?
    There is another thing which comes to my mind if SRM 7.0 XI Content is using web services instead of IDoc for communication with ECC system. If that is the case then i cannot find predefined proxy in ECC system and thus i have to create custom web service server proxy (where again i have to write custom code).
    Do let me know if anybody has used XI Content SRM 2007. So that I can get some help on this.
    Thanks,
    Divyakumar

    Hi Divya,
    We have done with SRM 5.0 but not with SRM 7.0
    When i see content for SRM 7.0 in Market Place i donot find , From where did u get download those XI content for SRM 7.0 ???
    Did u find any Integration Scenarios depecting the flow , we used the same for the business flow.
    Please do update how u have proceeded.
    Thanks
    rgds
    srini

  • Use KM-Content for Web Dynpro

    Hi,
    is there a way to access KM-Content data from Web Dynpro Applications?
    Thanks in advance
    Karsten

    Hi Karsten
    There are km apis for this.Using this you can access the contents of the KM folders. This following link is very helpful.
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Select project no 26 (Using Knowledge Management API) from the above link.
    Regards
    Geogi

  • Using a recorded meeting as content for another meeting - how?

    I'm trying to set up a webinar where we play a recorded meeting.  We don't want people to access the meeting whenever they want, we want everyone to view it at the same time.  The manual/help documents say:
    "Also, a recorded meeting can be used as content for another meeting."
    But I can't any information on how to DO this.
    Can anyone help?
    Dayna

    That is truly a poorly placed sentance with no explanation. To achieve this, you will need to make an offline version of the recording, so you have an FLV version that can be played in the meeting room. Here are the steps: http://help.adobe.com/en_US/connect/8.0/using/WS20F14479-39A1-42e2-AF0A-F8C2F1AA9BE4.html
    If you want people who do not have access to an Adobe Connect server to view a meeting recording, create an offline version. The offline recording is saved as an FLV file, which can be viewed in an FLV player, and distributed via e-mail, CD, or a server.
    Note:  Creating an offline recording takes approximately the same amount of time as the duration of the original meeting recording. 
    You can minimize the offline recording window or view other windows on top of it without interfering with the contents of your recording.
    From the Adobe Connect Central home page, click Meetings or Training, and then click the meeting or classroom that includes the recording.
    Click Recordings.
    Next to the specific recording you want to use, click Make Offline.
    If Help text appears, click Proceed with Offline Recording. Then specify a location for the finished FLV file.  The meeting begins playing, creating the offline file. 
    As needed, click the Pause/Resume, Stop And Save, and Start New controls:
    The Pause/Resume button temporarily stops creation of the offline recording. This can be useful if you must download a large file and do not want to strain system resources. When you click Resume, the recording continues from where it was paused. The finished recording is one continuous file regardless of how many times you paused and resumed recording.
    The Stop and Save button ends the creation of a recording, which is useful if you want to record portions of a meeting as separate files. Click Start New to resume recording where you left off.
    When the recording process finishes, close the offline recorder window. (If the window is minimized, it closes automatically.)
    Have the recording open on a moinitor with high resolution and full screen (before minimizing to the sytem tray), so as to get the best quality recording.

  • How do you transfer the content from an iPhone to a PC? I have to use a PC for a while and don't know how to put my stuff on to there from my phone

    How do you transfer the content from an iPhone to a PC? I have to use a PC for a while and don't know how to put my stuff on to there from my phone

    If you're talking about music and movies an i-device was not designed for unique storage of media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing music and movies is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred from a device to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software.  See this document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991

  • In a future version of ibook author would be very useful to provide for the creation of shared content online. Teachers can collaborate on the creation of a text. Very useful for teachers to collaborate in the network. sharing sharing sharing

    in a future version of ibook author would be very useful to provide for the creation of shared content online.
    Teachers can collaborate on the creation of a text. Very useful for teachers to collaborate in the network. sharing sharing sharing

    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc. 
    http://www.apple.com/feedback/ibooks-author.html

  • Using SAP Content Server for SAP E-Recruitment

    Hi SAP Experts,
    We are presently implementing SAP E-Recruitment using BSP services, We are successfully runnig with Whole E-recruitng cycle when we use SAP system DB as storgae for External Candidtes' Documents.
    But, Our Client wants to have SAP Content Server to store all documents uploaded by External/Internal Candidates becuase client is worrying that if SAP system DB holds such huge data base of Resumes, it may slow down the performance of SAP System.
    So, We need inputs from you suggesting whether is it feasible to use SAP Content server for SAP E-Recruitment Implementation. SAP no where suggests to Content server. So, we are in deliema to go for content server or not. If it is feasible to use Content server, pls provide me proper links or documents for reference.
    Please give your valuable inputs,
    Thanks & Regards,
    Sudheer Kumar P

    Hi Sudheer,
    We are considering the same option.  We are concerned about performance after all these documents are uploaded too.  Did you install a content server?  How did it go and was it difficult to set up with e-rec?
    Thanks
    Shane

  • Using DMS Content server for Archiving HR documents

    Hi SAP Gurus,
    with the details gathered from the forum we could suggest the client to go for Archiving there Documents for storing there HR related Documents, like Resumes, salary hike litters, leaves etc....
    but as we do have DMS here and intending to get a Content server for DMS, can we use the same content server for archiving the HR documents also,
    or the other way round if we go a Big archiving server, can we store DMS documents there using it as Content Server,
    Thanks and Regards,
    Priya S

    Yes, you can use the content server. Just create an ArchiveLink Repository on the server and you can use it for HR.

  • Pls help. which java tool to use for math parser?

    hi there
    pls tell me which java tool and classes do i need to use to create a math parser for defferentiation functions. i googled the topic and only got confused. thanks in advance.

    sabbir736 wrote:
    hi there
    pls tell me which java tool and classes do i need to use to create a math parser for defferentiation functions. i googled the topic and only got confused. thanks in advance.You use a CAS (Computer Algebra System) for such a task: not Java. I recommend Maple or Matlab, or if you don't have any money to spend: you could try Maxima: http://maxima.sourceforge.net/ I heard some good things about it.

  • On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this?

    On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this ?

    Thanks for posting this!
    I would only mention that your definition is incomplete for this -
    Contextual selector A type of Style Sheet Selector that
    and that it's most often referred to now as a Descendent selector, not a contextual selector.  It's basically the same as the Compound selector that you have already defined....

  • 3D content for iOS using Flash Builder? Possible?

    Hi,
    Is it possible to use Papervision or Away 3D using Flash Builder 4.6 and compile this succesfully for iOS?
    I have previously had lots of fun with Papervision and I am just wondering if it is possible to create 3D interface content for iOS and/or Android?
    HR

    I think Away3D (and possibly PaperVision) uses Pixel Bender shaders. They don't work on mobile devices, AFAIK. But Stage3D is supposedly coming to AIR mobile soon. That should blow the socks of any software rendering. I think Away3D will be supporting it.

  • Use of content server for cFolder

    For cFolder, the use of content server is optional. My question is when should we use it ?

    Hi,
    cFolder can be used as a content server,Knowledge management system.
    It is depend on the organization need and kind of development they are doing.
    It is used best when are project team is working globally and virtually same.
    we can share project docs,maintain BOM , Material management,discussion thread,and also used for online meetings.
    Shiv

  • Create ribbon button to launch my webpage in office 365 content pane application using napa tool for sharepoint

    Hi ,
    I have created Excel content pane application in office 365 using NAPA tool for SharePoint,so  here  i need to launch my page through the ribbon button instead of directly loading .
    please provide me some samples how to get ribbon for office 365 content pane application and on click of ribbon how to interact the page through the ribbon.
    Thanks
    Lokesh

    Actually i want to Create Custom Ribbon  for office 365 with the help of napa tool, without use of Visual studio 2013. 
    Please provide me a sample or help regarding to create Office 365 ribbon using "NAPA"
    Thanks
    Abhishek

  • XI Content for Material Master used by MDM

    Dear all,
    Where can I get the XI content for MDM 5.5 SP4 to receive the master data sent from ERP system?
    As far as I know, ERP sends two IDoc basic types (MATMAS and MDMRECEIPT). But why I cannot find at the URL https://websmp206.sap-ag.de/~sapidb/011000358700004672592006E?
    By the way, is it possible for ERP system to send master data via XI proxy instead of IDoc at the moment?
    Thanks + Best Regards
    Jerome
    null

    Hi Jerome,
    your link is refering to the XI content documentation. To download the XI content, please have a look at SAP <a href="http://service.sap.com/swdc">Software Distribution Center</a>. Follow the menu to "Download" -> "Support Packages and Patches" -> "Entry by Application Group" -> "SAP Netweaver" -> "SAP MDM" -> "SAP MDM 5.5". There you'll find everything you need for your system landscape setup.
    The standard extracors for materials do only support the IDocs in ERP.
    Kind regards
    Michael

  • How do we split our iCloud accounts but keep one iTunes account so we can share purchased content for our multiple iPhones and iPads?

    How do we split our iCloud accounts but keep one iTunes account so we can share purchased content for our multiple iPhones and iPads?

    You can migrate a copy of the data to a new account, then delete the other person's data from each account.  To do this, on the phone that will be changing accounts, if you have any photos in photo stream that you want to keep on the phone, save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll. If you have any synced notes that you want to keep on the phone, email these to yourself so you can create new notes in the new account.
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The phone that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On My iPhone.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.  You will create a new icloud email address with you turn Mail to On.
    Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting your wife's data from your account, and vice versa).

Maybe you are looking for

  • Error: Unable to Load Database

    Anyone seen this error: "Unable to Load Database"? How to recover? A link or a page for me to read would work too. thx! James

  • Problem to convert a Smartform a PDF

    Hello everybody, I revised the forum and found several solutions to this. But I have the following problem: when execute the functions that transforms Smartforms to PDF in R3  this generates BinField good. But when I run the model from WebDynpro and

  • Can't Download Itunes And Quicktime

    i go to the download pages and the site gets a error where the download links are what gives. i get this "Network Timeout The operation timed out when attempting to contact swdlp.apple.com. The requested site did not respond to a connection request a

  • Transport of infoset query urgent ?

    Hi , any one can help me on this topic.. i want to transport the infoset query .. please any body give the steps....regarding this topic.. regards, goodyear,

  • IDOC - XML Mapping

    Hi all, My scenario is to create for each RecordSet from IDOC two RecordSet in Text file (same value are differente). I tryed to use what is available in Mapping tool but I did not find how! Thanks Fouad