Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8352311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:55:36+00:00 2026-06-09T08:55:36+00:00

I am getting warning message on the following expression. (400*ev.PageBounds.Width)/2400 Warning message is Output

  • 0

I am getting warning message on the following expression.

(400*ev.PageBounds.Width)/2400

Warning message is Output precision is reduced to the precision of the operands.

Why? Can I just ignore it?

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T08:55:37+00:00Added an answer on June 9, 2026 at 8:55 am

    Just use operands of wider precision:

    (400.0*ev.PageBounds.Width)/2400.0
    

    or cast them:

    (((double)400)*v.PageBounds.Width)/(double)2400
    

    etc. Note that it is the 400 what dictates the type of the result, you may skip casting the 2400

    Edit: no, in general you should not ignore it. The message warns you that dividing BLAH by 2400 may result in fractions that would be truncated. Ie. 3500 / 2400 = 1. It would be done in such way, when all of your operands are integral, for example:

    2 * 4 / 10 * 10 ==== 0
    

    while

    2 * 4.0 / 10 * 10 ==== 8
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Was getting deprecation warning message in the last version. Now I can't run the
I'm getting the following error message: Warning: Missing argument 7 for slider_getinfo_by_term(), called in
I'm getting the following error message: Warning: file_get_contents( http://localhost/sample_pie.php ) [function.file-get-contents]: failed to open
I'm getting the following warning message... Return type of function 'ConnectionNew' is not CLS-compliant.
I am getting many of the following warning messages. Is this something I should
Getting red warning message that expected identifier for this statement CALayer = ImageView.layer; Using
I have upgraded my php now i am getting warning messages for eregi_replace Can
We are getting the following warning from Code Analysis in Visual Studio 2010 and
I am getting the following error message: org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed I
I'm getting the following analyzer warning on this line... if ([datStartDate compare:now] == NSOrderedDescending)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.