F
Filament•3mo ago
Gaspar

decimal value has inconsistencies/bugs in Column and Textinput

Bumped to very weird Filament "bug" today. Did some research in docs, Git, and here and found nothing. 1. have field price in database (MySQL): price` double(20,4) 2. have value in this field: 5.9400 3. Filament Table (Tables\Columns\TextColumn::make('price')) shows: 5.94 (should be 5.9400) 4. Filament Form (Components\TextInput::make('price')) shows: 5.9399999999999995 (should be 5.9400) I very much prefer Filament not changing values stored in database 🙂 Any ideas what is going on and can i "fix" it?
3 Replies
Want results from more Discord servers?
Add your server