Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

How do you store decimal like prices? #104

Closed
@divdax

Description

@divdax

I think this package need a new type. Why there is no decimal?
If you want to store e.g. prices, volumes there i cannot use varchar or integer.

Activity

flakerimi

flakerimi commented on Apr 2, 2020

@flakerimi

@divdax if still applicable, PR #119 fix this, or clone my fork

https://github.com/flakerimi/laravel-attributes

Omranic

Omranic commented on Jan 1, 2021

@Omranic
Member

The idea of this package is to provide the basic types, and to give you the ability to extend it easily to add your own custom types. You can so that by following the steps here https://github.com/rinvex/laravel-attributes#register-your-types

And here is an example
#119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Omranic@flakerimi@divdax

      Issue actions

        How do you store decimal like prices? · Issue #104 · rinvex/laravel-attributes