So given the decimal 109268.27107118553088
the result is:
integer: 0
int: 109268
uint: 109268
unsigned integer: 0
// | |
// AutoSizingCell.swift | |
// | |
// | |
// Created by Rob Nadin on 24/12/2014. | |
// Copyright (c) 2014 Rob Nadin. All rights reserved. | |
// | |
import UIKit |
// | |
// AView.swift | |
// LoadViewFromNib | |
// | |
// Created by Rob Nadin on 27/01/2015. | |
// Copyright (c) 2015 Rob Nadin. All rights reserved. | |
// | |
import UIKit |
/* | |
* This file is part of the CSStickyHeaderFlowLayout package. | |
* (c) James Tang <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ | |
#import "CSStickyHeaderFlowLayout.h" | |
#import "CSStickyHeaderFlowLayoutAttributes.h" |
// | |
// DetailViewController.swift | |
// TransitionCoordinator | |
// | |
// Created by Rob Nadin on 15/02/2015. | |
// Copyright (c) 2015 Rob Nadin. All rights reserved. | |
// | |
import UIKit |
// | |
// Fetchable.swift | |
// CoreDataGenerics | |
// | |
// Created by Rob Nadin on 29/07/2015. | |
// Copyright © 2015 Rob Nadin. All rights reserved. | |
// | |
import CoreData |
extension NSDecimalNumberHandler { | |
public func calculate(closure: () -> NSDecimalNumber) -> NSDecimalNumber { | |
let defaultBehavior = NSDecimalNumber.defaultBehavior() | |
NSDecimalNumber.setDefaultBehavior(self) | |
let result = closure() | |
NSDecimalNumber.setDefaultBehavior(defaultBehavior) | |
return result | |
} | |
} |
if [ "$ALLOW_INSECURE_HTTP_LOADS" = "YES" ]; then | |
PLIST_BUDDY="/usr/libexec/PlistBuddy" | |
cd "${TARGET_BUILD_DIR}" | |
DOMAIN_PATH=":NSAppTransportSecurity:NSExceptionDomains:${INSECURE_SERVER_HOST}" | |
$PLIST_BUDDY -c "Delete ${DOMAIN_PATH}" "${INFOPLIST_PATH}" | |
$PLIST_BUDDY -c "Add ${DOMAIN_PATH} dict" "${INFOPLIST_PATH}" | |
$PLIST_BUDDY -c "Add ${DOMAIN_PATH}:NSExceptionAllowsInsecureHTTPLoads bool true" "${INFOPLIST_PATH}" | |
fi |
// | |
// Array+Operators.swift | |
// | |
// | |
// Created by Rob Nadin on 08/01/2016. | |
// Copyright © 2016 Rob Nadin. All rights reserved. | |
// | |
import Foundation |
/* Brightness.swift -- Set brightness based on hour | |
This file is part of brightness. | |
Brightness is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
Brightness is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |