Add Decimal primitive type
See original GitHub issueBug description
The VS Code extension does not recognize the Decimal primitive type.

How to reproduce
Steps to reproduce the behavior:
- Add an attribute with type
Decimal
Expected behavior
It should recognize Decimal
Prisma information
model Unlockable {
id String @id @default(uuid())
amount Decimal
}
Environment & setup
- OS: Mac OS
- Editor: VSCode
- Editor version: 1.43.2
- Extension version: 2.3.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Numeric Primitive Data Types
There are both integer and floating point primitive types. Integer types have no ... On paper, integers have no decimal point, and floating...
Read more >Why is decimal not a primitive type? - Stack Overflow
Decimal is a 128 bit data type, which can not be represented natively on a computer hardware. For example a ...
Read more >Primitive Data Types (The Java™ Tutorials > Learning the ...
Decimal : Base 10, whose digits consists of the numbers 0 through 9; this is the number system you use every day; Hexadecimal:...
Read more >Primitive Data Types | Apex Developer Guide
Decimal is an arbitrary precision number. Currency fields are automatically assigned the type Decimal. If you don't explicitly set the number of decimal...
Read more >Java - Decimal Number Primitives - Mod1, Les1, Video 5 of 6
Java - Primitive Data Types - Decimal Number Primitives - Mod1, Les1, ... variables of any of the primitive data types 5) The...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh I see. Ok I reinstalled and now the version is the same. Still getting the same error for Decimal though
Hey @melissafzhang - as we unfortunately can’t reproduce, I am closing this issue. Please re-open if this keeps happening!
Thanks!