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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:24:51+00:00 2026-05-25T15:24:51+00:00

I have tables with decimal numbers and i wnat that there will be maximum

  • 0

I have tables with decimal numbers and i wnat that there will be maximum 2 digits after the point. e.g the number 4.567 will be 4.67, but the number 2 will stay 2, and the number 5.6 will stay 5.6. How can i do that? I managed to do that there will be only two digits, but the number 2 converted to 2.00 and 5.6 to 5.60…

  • 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-05-25T15:24:51+00:00Added an answer on May 25, 2026 at 3:24 pm

    Format Cells->Number->Custom…and enter “0.##”

    The “0” means “always displayed” (so in this case a digit before the decimal point). The “#” means “display if present” (so up to two digits after the decimal point). It’s not quite perfect as “2” will display as “2.”, but I think it’s close as you’re going to get

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following query will display all Dewey Decimal numbers that have been duplicated in
Initially I have user input decimal numbers (0 - 15), and I will turn
I have a table with columns ID(int), Number(decimal), and Date(int only timestamp). There are
Often I have stored credit card numbers in varchar(16) . That works, but it
consider that i have a migration as follows create_table :dummies do |t| t.decimal :the_dummy_number
I have a form with a text field for entering a number without decimal
My (MySQL) tables have columns with currency values set as Decimal(10,2) with decimals separated
I have a table with two decimal(18,0) fields. I am inserting into this table,
I have a table full of longitude/ latitude pairs in decimal format (e.g., -41.547,
I have a functional index on a table where the index is the decimal

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.