所得税額 = (所得金額(A) - 所得控除額(B)) × 税率 - 税額控除額(C)
- 「所得金額(A)- 所得控除額(B)」は 課税所得金額 といい、1,000円未満の端数を切り捨てる。
| import { Prisma } from '@prisma/client' | |
| interface Omit { | |
| <T extends object, K extends [...(keyof T)[]]>(obj: T, ...keys: K): { | |
| [K2 in Exclude<keyof T, K[number]>]: T[K2] | |
| } | |
| } | |
| const omit: Omit = (obj, ...keys) => { | |
| const ret = {} as { |
| interface Done<T> { | |
| type: 'done'; | |
| result: T; | |
| tail: string; | |
| }; | |
| interface Failed { | |
| type: 'failed'; | |
| }; |
| +------------------------------------------------+ | |
| | active | | |
| +------------------------------------------------+ | |
| ^ | | |
| | | | |
| didBecomeActive willResignActive | |
| | | | |
| | v | |
| +------------------------------------------------+ | |
| | inactive | |
| //: Playground - noun: a place where people can play | |
| import UIKit | |
| protocol ContextInjectable { | |
| associatedtype Context = Void | |
| func inject(_: Context) | |
| } | |
| extension ContextInjectable where Context == Void { |
| import UIKit | |
| extension UITabBar { | |
| private struct AssociatedKey { | |
| static var unselectedItemTintColor = "UITabBar.UnselectedItemTintColor" | |
| } | |
| @nonobjc | |
| var unselectedItemTintColor: UIColor? { |
| // | |
| // ParserCombinator | |
| // | |
| // Created by 後藤誉昌 on 2016/10/06. | |
| // | |
| import Foundation | |
| // モナド | |
| struct Parser<Input, Output> { |
| ruby '2.2.3' | |
| source 'https://rubygems.org' | |
| #source 'https://rails-assets.org' do | |
| # gem 'rails-assets-vue' | |
| #end | |
| gem 'rails', '4.1.7' | |
| gem 'grape' | |
| gem 'kaminari' |
| <!DOCTYPE html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>11月21日(土)の朝刊</title> | |
| <link rel="stylesheet" href="normalize.css"> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> |