Skip to content

Instantly share code, notes, and snippets.

View iviq's full-sized avatar

Ivan Kuzmin iviq

View GitHub Profile
@iviq
iviq / XIRR.js
Last active April 1, 2021 06:58 — forked from ghalimi/XIRR.js
XIRR Function
// Copyright (c) 2012 Sutoiku, Inc. (MIT License)
// Some algorithms have been ported from Apache OpenOffice:
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file