How to set decimal digits

Hi all

Cascading QML if I calculate A / B and the result 3.45656566

How I round off the number to 3.46

I can not find any function to round or rnd.

Thanks for your advice.

you need to multiply, and divide to get a decimal number, if you want to go 3 places for the years 1000 and so on

Math.round(num * 100) / 100

Tags: BlackBerry Developers

Similar Questions

  • How to set up digital channels to change values on the trigger and the counter in c#

    Hello world!

    I work with the driver NI - DAQmx 6025 and want to know, how do I configure the digital channels in c# for control lines different ports by trigger rising "PFI0" and the meter "ctr0.

    digitalWriteTask = new Task();
    digitalWriteTask.DOChannels.CreateChannel ("Dev1/Port3 / line0:7", "", ChannelLineGrouping.OneChannelForAllLines);
    digitalWriteTask.Control (TaskAction.Verify);

    digitalWriteTask.Triggers / / how to configure to change Digital line on rising "PFI0"?

    digitalWriteTask.Timing / / how to configure to change Digital line on County "ctr0?

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Hi an alle!

    Am mit dem OR-DAQmx 6025 und möchte like wissen, die ich wie digital channels in c# konfigurieren muss um einzelne Ports der Leitungen auf dem Trigger "PFI0" und dem Zahler "ctr0' anzusteuern.

    digitalWriteTask = new Task();
    digitalWriteTask.DOChannels.CreateChannel ("Dev1/Port3 / line0:7", "", ChannelLineGrouping.OneChannelForAllLines);
    digitalWriteTask.Control (TaskAction.Verify);

    digitalWriteTask.Triggers / / Wie konfigurieren, um den logical Pegel eines feature pine bei der der zu winds PFI0 goods?

    digitalWriteTask.Timing / / Wie konfigurieren, um den logical Pegel eines pines beim ctr0 zu go digital?

    NEITHER told me, with the NOR-DAQmx 6025 driver not supported!

    ICH habe von NOR learn, dass dies mit der 6025 OR AQmx supported wird nicht!

  • How to set the digital image to display photos in random order on a picture frame digital df730

    My digital photo frame displays photos in sequential order. How can I change in a random order?

    I solved the problem. Photo selection and then pressing the key on human beings to control hand symbol to the top of the configuration menu.

    Then, I could choose slide show with shuffle. Unfortunately the user guide does not explain this, or online information.

  • How to set the digital format via the API

    Hello

    I have a utility that imports limit of external resources and that the utility (c#) I would need to change the digital representation so that what is defined as hex in the external resource should appear after imported to TS so hexa.

    Can U help out me if it is possible with the API, and if so, what is the good methods for doing this?

    Thanks in advance.

    Hello

    Only a few minutes ago, we have found this solution work:

    x.NumericFormat = "%#X";  where x is the PropertyObject pointing to the number. It is just not documented anywhere for this method that you can use X for hex.

  • How to Set Digital i/o status of Watlow EZ - Zone RM on 'ON' in LabVIEW?

    I have an EZ - box RM Watlow controller and here is the driver:

    http://www.Watlow.com/downloads/en/software/Watlow%20EZ-zone (R)%20LabView%20Driver%20a.zip

    I have 16 e / s digital connected to the CRDD and I need to use to trigger the SSR.

    so here's my question

    How to Set Digital i/o status of Watlow EZ - Zone RM on 'ON' in LabVIEW?

    What ID setting should I use to replace the OFF state (62) (63)?

    First I thought that I can write "63" in the ID parameter "6007", and it does not work because it is a read only parameter. Is it supposed to be a way I can just simple it switched off to change on?

    Thank you for answering my question.

    The OID cannot be set directly. First a block Variable must be digital and connected to the block of DIO mode. Then changing the numeric status can be changed (63) to off (62).

  • How to set a start and a trigger digital stop conting number trigger signals

    Dear all,

    This is an application for the acquisition of data that I don't know how to set triggers. The trigger signal is a sequence of rectangular pulses. A plot of X - is necessary. The interval between signals start of X are the same. So, I need to count signals trigger to know the value of X. And the value is analog signal. If the trigger interval corresponds to dx, my range of measurement is lying will begin with the rise of the m trigger signal - th with X = m * dx, then it stop at the rising edge of the signal trigger of the n - th with X = n * dx.

    But I don't know hot to make this trigger + counter. The attachment shows a schematic representation of the measure. Can anyone help?

    Thanks in advance.

    Best,

    Jiangjun

    Set the meter to measure the pulse in continuous or over mode according to your requirement.

    Use the source of synchronization as the trigger pulses & configure rates at least 100 times rate of relaxation. Then compare the value count against'm & n' & generate the impulse on the PFI lines or the port pins.

    I guess you know m & n values.

    The other way is to configure to tell it to count the no. rising edges. Then compare this number with'm & n' bones & generate the impulse on the PFI lines or the port pins.

  • How to set the default value for the digital control on front panel?

    How to set a default value for a numeric control of LabVIEW 2009 Front Panel? I have several input values that are actually configuration settings I want to settle with the default values of zero. I want them to be the values displayed when the façade first appears until the code is executed.

    I really want to use the Minimum and Maximum limits by default for this because I still want to be able to define acceptable limits for values.

    I would not be able to specify a default value of zero for these entries?

    Enter the desired value, then "right click...... of default data of value to operations. Save the VI.

  • How to set up Time Machine via a HARD drive connected to the USB port on the router?

    Hi all

    I have an Arris Touchstone Data Gateway DG1670A/TW for my internet / wireless which was provided by my ISP.  There is a USB port at the back of the router and I was wondering if I could connect an external HARD drive to save the two Macbook Pro that I have in my house through Time Machine wireless?  If Yes, could someone provide me the details regarding how to set this up properly?

    I too, was thinking about making a 4 TB HARD drive - 2 and wanted to partition so that half of it would work for Time Machine and the other half I would be able to store photos that I take on my digital SLR and are in Lightroom.  Could this be a problem at all? I partition? or Time Machine just to use the available space and delete older backups to make room for additional photos?

    Thanks in advance for any help.

    A device third-party network attached storage (NAS) or a router is unsuitable for use with Time Machine.

    Apple has published a specification for network devices that works with Time Machine. No third party provider, AFAIK, does meet this specification.

    Apple does not endorse any device third-party network for use with Time Machine. See this support article.

    Network backup, use as destination an Apple Time Capsule or an external storage device connected to another Mac or a 802.11ac AirPort base station. Only 802.11ac base stations support time Machine, not older model.

  • How to synchronize 2 digital output channels that have been created with DAQmxCreateCOPulseChanFreq

    Hello

    I use peripheral USB6221.

    I created two digital output, operating on a frequency of 75KHz and duty cycle of 50%. But I need a period of 1 microsecond between the two channels.

    I have craeted the two channel on the same task and guess if I use a delay of 0, the channels will be synchronized, but looking at the scope, the channels are not synchronized. Here's the code I used (I checked also all return codes of coarse and fine).

    Thank you

    Danny.

    Int32 RetCode;

    RetCode = DAQmxCreateTask ("", & m_OCtaskHandle);
    LogMessage (RetCode, "CreateTask", "");
    If (RetCode > = 0)
    {
    define the first output channel for 1 transmitter (75KHz)
    RetCode = DAQmxCreateCOPulseChanFreq (m_OCtaskHandle, "/ Dev1/ctr0", ")
    "Transmit1 Line 1", / * name to assign to the channel * /.
    DAQmx_Val_Hz, DAQmx_Val_High,
    0.0, / * initial delay in seconds * /.
    75000.0, / * Freq * /.
    0.5 / * market factor * /);
    define the second output channel for 1 transmitter (75KHz with 1 microsecond delay)
    RetCode = DAQmxCreateCOPulseChanFreq (m_OCtaskHandle, "/ Dev1/ctr1", ")
    "Line2 Transmitt1", / * name to assign to the channel * /.
    DAQmx_Val_Hz, DAQmx_Val_High,
    0,000001, / * initial delay * /.
    75000.0, / * Freq * /.
    0.5 / * market factor * /);
     
    Describe all channels continuous task
    RetCode = DAQmxCfgImplicitTiming (m_OCtaskHandle, DAQmx_Val_ContSamps, 1000 / * I think that NA since continuous * /);

    RetCode = DAQmxStartTask (m_OCtaskHandle);

    Hello Danny,

    If you are looking for more output channels of the Digital pulse trains, you can create 1 task of counter that is used as the clock for digital multi-line data output. For this digital task, you will need to make the clock source line PFI for the output of your task of counter. Once this has been done, you will need to create the digital signal for each line of output and write to the card. The example called write dig Chan - Ext Clk will explain how to set up the digital task so that the task has an external clock (the counter). I hope this information helps you and if you have any other questions, feel free to post.

  • How to set the Date and time on a remote target in Measurement & Automation Explorer (MAX)?

    Hello

    I'm trying to follow the steps described in the following link:

    How to set the Date and time on a remote target in Measurement & Automation Explorer (MAX)?

    It is said

    The software on the target currently supports only the time zoneand deletes the old files?

    I need set the date and time

    and remove all the old unwanted files

    the calendar was gray does not allow me to change the current date.

    Anyone know how to change

    Hi all!

    According to this the below Knowledge Base article, Remote Configuration System Support must be installed on the target for time settings to change in MAX.

    http://digital.NI.com/public.nsf/allkb/FAB0EC4D6E5EE0F386257738005733A3?OpenDocument&MeTC=max_MAXDat...

    If you don't know what version of the system supported remote Configuration software that you have installed on your device target, it is likely that it is not yet installed. Add this software by clicking below your target to the MAX software option and selecting "Add/Remove Software". This is where you will install the System Configuration Remote Support software.

    Please let us know if you have any questions!

  • Not sure how to set up Windows Fax Scan &

    Original title: "Windows fax and scan"

    I'm not sure how set the computer to my phone... it is already connected to the internet... If I understand correctly... I think so..

    If you use a dial-up connection, then the line is indeed already used with the internet.  You can do this through the internet, and you may not use this same line while it is used for the internet.  You need an analog (non-digital) line separated with a fax modem or (one in your system) be bound separately or you need to switch back if it is a good analog line and you have everything you need to fax. Here's how to set up fax and scan:http://windows.microsoft.com/en-us/windows-vista/Set-up-your-computer-to-send-and-receive-faxes.  Here's a FAQ on Windows Fax and scan, which can also help to answer your questions:http://windows.microsoft.com/en-us/windows-vista/Faxing-frequently-asked-questions.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to check a digital signature in the mobile

    As in the computer we can verify a digital signature in the mobile

    The answer is 'no '.

    The longer answer is that validation of digital signature on the desktop is to use digital IDs and certificates. Signatories have certificates to public and private keys and signature workflow involves the use of public key to validate the signature. Public keys are distributed to participants of the signature workflow, but the details are governed by the PKI administrator (person who knows how to set up signature workflows that use certificates). On mobile devices, validation of signature implies no device certificates. The eSign service (EchoSign) verifies identity a signatory without using the identification numbers assigned to each user. Signature validation happens on the servers of eSign.

    HTH,

    Ben

  • How to set the pixels for the softer - edge, in a design? I use PhspCS5 TRIAL grateful for help!

    First of all, I'm not a rather advanced digital artist know the tools of basic (a bit) and I'm pretty good with those who, over the years, however, have a new Mac and better

    visibility for sure and an ASSESSMENT of PSHP CS5 Extended version; what I'm asking is: how to set the pixels... to achieve the softer contour for example. I have

    greeting card templates and is now working on a Christmas tree, with gold stars, they better look (vy-light = blk) but when I ZOOM IN I see the ' wavy lines

    pixels, which appear on the 'place '.  I would like to know how to set the pixels * 1 # and then with respect to colors, when I take a yellow (there are many! yellow!)

    and use my Intuos "tap tap tap" pen drawings (yellow), it does NOT save... (he did it on my other computer and CS4 more aged).  So going

    back to my swatches of color, of... .remember just what yellow I took... ha ha... can be: "not so fast!"

    I buy this subscription at the end of the trial and my bet is that the color picker / working on the purchased version when I "tap tap" to pick up the

    same color II had chosen.  Wouldn't it be good to have a monitor of sorts that says you, what color (s) is used when you need to know, to go

    on the 'design' say after a break for tea, etc.  ?????  (    :

    I save my drawings when facts JPEGs and see now, there's a JPEG 2000... I don't know what it is all about.  I save pdf (1) and a jpeg.  Hope that this sounds

    like what we "do"... When we know much more than me.

    And finally, what program or tool, can a use to put a 'framework' (border) around an eg: 5 x 7 design (again, my goal is for my greeting cards designs.  Are there

    another of Adobe products, I would have to do this.  Free hand has not worked so well, so far.

    I'm in advance, so grateful to you - anyone you may, for your help.  I'm on my way 'Hooray' last now in the hope of success soon... I am a senior of 71

    and so feel I have to really "go there" and learn these basics to ensure my chances of success, at least. Thank you, thank you & thank you! CDW

    Please post in the Photoshop forum.

    http://forums.Adobe.com/community/Photoshop

    Bob

  • new update of Apple Watch doesn't have My Watch tab. I can't understand how to set up friends or family ring

    I updated my Apple Watch with the latest version of the software that is 10 IOS. But the last update did not My Watch tab in the settings. I can't understand how to set up friends or family ring? Any help on this will be appreciated.

    Hello

    IOS 10 (as in the previous version of iOS), My Watch tab is located in the application of the watch (not in the settings).

    If you have also updated your Apple Watch to watch OS 3, note that the application of friends (accessed via the side button, with a circle of people) has been removed from the watch and that there is no direct replacement for this feature.

  • How to set one of my pictures as a screen saver

    I can't understand how to set one of my own photos as the screensaver on my iMac... How do I do it please?

    System Preferences > desktop and screen saver > screen saver > select one of the modes that uses a table > screen saver Options > choose a folder...

    Made in regards to the BONES of the Mavericks.

    Clearly, it will work best when you have more than one image.

    I guess you mean screensaver and no paper painted (preferably same group)?

Maybe you are looking for