Open Closed

precision in db fields #5900


User avatar
0
selcukdurann@gmail.com created
  • ABP Framework version: v7.3.3
  • UI Type: MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

hi there, in suite crud we want to set precision for numbers. how can we do this in suite table create?

eg: number 123.45 has a precision of 5 and a scale of 2


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello selcukdurann@gmail.com

    Could you Please refer this https://docs.abp.io/en/commercial/latest/abp-suite/editing-templates

    Please do let me know if it helps you

    Thank you, Anjali

  • User Avatar
    0
    selcukdurann@gmail.com created

    Hello selcukdurann@gmail.com

    Could you Please refer this https://docs.abp.io/en/commercial/latest/abp-suite/editing-templates

    Please do let me know if it helps you

    Thank you, Anjali

    hello..

    i didnt see any information about db precision setting in editing templates. if its there can you give me a specific example for this??

    when we create a decimal field from ** abp suite - CRUD Page Generator ** it generates a 6 or 8 digit after decimal point. i just want

    decimal(8,2) 000,000.99

    like this number.. more specific numbers, decimals, floats.. etc. when creating new tables with crud pages..

    thanks..

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello selcukdurann@gmail.com,

    I think you need to change in database table design as shown in screenshot

    You can change it as per your requirement.

    Please do let me know if it helps

    Thanks, Anjali

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11