Doctrine 1
  1. Doctrine 1
  2. DC-886

Doctrine should support mysql native float/double

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Schema Files
    • Labels:
      None
    • Environment:
      symfony 1.4.8 / mysql

      Description

      Doctrine does not support native mysql float/double. It always specifies float(18,2) which reduces precission to 2 decimals.
      Although it is possible via
      type: float(18), scale: 6
      to enhance precission, I experience the side-effect, that for example 76.86 is now stored as 76.860001
      This ugly formatted number shows up in every form, unless I make an effort to round every field accordingly.

      I think doctrine should support mysql native float/double!

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Severin Puschkarski
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: