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 9014257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:27:54+00:00 2026-06-16T03:27:54+00:00

I have graph i want that graph it should show in whole number like

  • 0

I have graph i want that graph it should show in whole number like 20 40 80 100 04 200 250 500 750 1000 like this so how to get this at run time if our result comes 75 then it should display 100 on graph line insted of 70 and like wise if there is

here is the code which i am getting the final like in my answer final max is 850 and i want that is should on graph max value 1000;

    int finalmax=(maxone>maxtwo)? maxone:maxtwo;

    finalmax=(finalmax>maxthree)?finalmax:maxthree;
  • 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-16T03:27:55+00:00Added an answer on June 16, 2026 at 3:27 am

    You can take any number and round it to the nearest hundred by dividing it by 100 and rounding to the nearest integer and then multiplying by 100.

    int i = 70;
    float j = roundf(i / 100.0);  // j = 0.7 so rounds to 1
    int result = j * 100; // result = 100
    

    or…

    int i = 312;
    float j = roundf(i / 100.0);  // j = 3.12 so rounds to 3
    int result = j * 100; // result = 300
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a video graph in c# with DirectShow. Now I want to show
I have a number of algorithms for community detection on graphs that I want
I have an array of N measurements that I should present as a graph,
I have a graph, and I want the line representing the graph to show
I want to have charts in my Swing application that show a wide variety
I have graph image i want that when i click on image the image
I have this problem. I have a graph of n nodes that I want
I have a graph, well, a series of disconnected graphs in Neo4j. I want
I want to Draw multiple line Graph with each line have different color and
I have to make a 3D graph in Excel. On the x-axis I want

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.