About 194,000 results
Open links in new tab
  1. MySQL DECIMAL Data Type - MySQL Tutorial

    The MySQL DECIMAL data type allows you to store exact numeric values in the database. In practice, you often use the DECIMAL data type for columns that preserve exact precision e.g., …

  2. How to use MySQL DECIMAL? - Stack Overflow

    Jan 29, 2011 · CREATE TABLE your_table ( your_column DECIMAL(6,4) NOT NULL ); The column definition follows the format DECIMAL(M, D) where M is the maximum number of …

  3. 14.24.2 DECIMAL Data Type Characteristics - MySQL

    The declaration syntax for a DECIMAL column is DECIMAL(M, D). The ranges of values for the arguments are as follows: M is the maximum number of digits (the precision). It has a range of …

  4. How to insert DECIMAL into MySQL database - Stack Overflow

    Mar 3, 2015 · I have a database table with some fields, one of them, cost, is set to the DECIMAL data type. I set the parameters to 4,2, which should allow 4 numbers before the decimal point, …

  5. 13.1.3 Fixed-Point Types (Exact Value) - DECIMAL, NUMERIC - MySQL

    The DECIMAL and NUMERIC types store exact numeric data values. These types are used when it is important to preserve exact precision, for example with monetary data. In MySQL, …

  6. MySQL - DECIMAL: A Comprehensive Guide for Beginners

    Now that we understand what DECIMAL is and how it's stored, let's see it in action! We'll use a MySQL client program to create a table, insert some data, and query it. Creating a Table with …

  7. The MySQL Decimal Data Type - Online Tutorials Library

    MySQL DECIMAL Data Type - Learn about the MySQL DECIMAL data type, its syntax, usage, and how to implement it in your database for precise calculations.

  8. MySQL DECIMAL - MySQL Tutorial

    The syntax for defining a DECIMAL column in a table is as follows: DECIMAL(M, D) Where: M is the total number of digits (precision), including both the integer and decimal parts. D is the …

  9. Using DECIMAL for Precise Accuracy in MySQL - TheLinuxCode

    Dec 27, 2023 · For representations of exact decimal values with fixed precision, MySQL provides the DECIMAL type that can meet even the most demanding data accuracy requirements. In …

  10. MySQL Decimal | Complete Guide to MySQL Decimal - EDUCBA

    Jun 6, 2023 · MYSQL allocates separate storage space for a decimal value’s fractional and integer parts, distinguishing between the values before and after the decimal point. As the …

  11. Some results have been removed
Refresh